ByteBuffer function ( ) { ByteBuf loc0 = Unpooled . buffer ( encodedLength ( ) + 1 ) ; loc0 . writeByte ( type ( ) . id ) ; encode ( loc0 ) ; assert loc0 . writableBytes ( ) == 0 : "srini_string" + loc0 . writableBytes ( ) ; return loc0 . nioBuffer ( ) ; }
serializes the ` type ' byte followed by the message itself . concode_field_sep byte id concode_field_sep BlockTransferMessage fromByteBuffer concode_elem_sep byte id concode_elem_sep Type type