Class MarshalerWithSize

    • Field Detail

      • size

        private final int size
    • Constructor Detail

      • MarshalerWithSize

        protected MarshalerWithSize​(int size)
    • Method Detail

      • getBinarySerializedSize

        public final int getBinarySerializedSize()
        Description copied from class: Marshaler
        Returns the number of bytes this Marshaler will write in proto binary format.
        Specified by:
        getBinarySerializedSize in class Marshaler