Esempio n. 1
0
        // Create a duplicate of a size-prefixed `ByteBuffer` that has its position
        // advanced just past the size prefix.
        public static ByteBuffer RemoveSizePrefix(ByteBuffer bb)
        {
            ByteBuffer s = bb.Duplicate();

            s.Position += FlatBufferConstants.SizePrefixLength;
            return(s);
        }