From: Sergey Matveev Date: Wed, 6 Jan 2021 18:15:17 +0000 (+0300) Subject: Note about XDR inability to address >32-bit bytes X-Git-Tag: v5.5.0^2~8 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=eb27dfed7d6b2b2bb2016e985f10263110fc93e3;p=nncp.git Note about XDR inability to address >32-bit bytes --- diff --git a/doc/pkt.texi b/doc/pkt.texi index f7bbe56..33c2f28 100644 --- a/doc/pkt.texi +++ b/doc/pkt.texi @@ -50,8 +50,9 @@ drive. Path has fixed size because of hiding its actual length -- it is valuable metadata. Payload is appended to the header -- it is not stored -as XDR field, because most XDR libraries will store all that data in the -memory. +as XDR field, because XDR has no ability to pass more than 4 GiB of +opaque data. Moreover most XDR libraries store fields in the memory in +practice. Depending on the packet's type, payload could store: