struct

Protobuf::Buffer

Inherits Struct / Value / Object

Constructors

new(io : IO)
Source

Instance methods

decode_zigzag(value)
Source
new_from_length
Source
read(n : Int32)
Source
read_bool
Source
read_bytes
Source
read_double
Source
read_fixed32
Source
read_fixed64
Source
read_float
Source
read_info
Source
read_int32
Source
read_int64
Source
read_sfixed32
Source
read_sfixed64
Source
read_sint32
Source
read_sint64
Source
read_string
Source
read_uint32
Source
read_uint64
Source
skip(wire)
Source
write(value, pb_type)
Source
write_bool(b : Bool)
Source
write_bytes(bytes : Slice(UInt8))
Source
write_double(n : Float64)
Source
write_enum(e : Enum)
Source
write_fixed32(n : UInt32)
Source
write_fixed64(n : UInt64)
Source
write_float(n : Float32)
Source
write_info(tag : Int32, wire : Int32)
Source
write_int32(n : Int32)
Source
write_int64(n : Int64)
Source
write_io(io : IO)
Source
write_message(msg : Protobuf::Message)
Source
write_message(e : Enum)
Source
write_packed(arr, pb_type)
Source
write_sfixed32(n : Int32)
Source
write_sfixed64(n : Int64)
Source
write_sint32(n : Int32)
Source
write_sint64(n : Int64)
Source
write_string(str : String)
Source
write_uint32(n : UInt32)
Source
write_uint64(n : UInt64)
Source