module GRPC::Reflection::Wire

Defined in:

grpc/reflection.cr

Class Method Summary

Class Method Detail

def self.ensure_length!(bytes : Bytes, start : Int32, length : Int32) : Nil #

[View source]
def self.read_bytes(bytes : Bytes, start : Int32) : Tuple(Bytes, Int32) #

[View source]
def self.read_string(bytes : Bytes, start : Int32) : Tuple(String, Int32) #

[View source]
def self.read_varint(bytes : Bytes, start : Int32) : Tuple(UInt64, Int32) #

[View source]
def self.skip_field(bytes : Bytes, start : Int32, wire_type : Int32) : Int32 #

[View source]
def self.write_bytes(io : IO, field_number : Int32, value : Bytes) : Nil #

[View source]
def self.write_key(io : IO, field_number : Int32, wire_type : Int32) : Nil #

[View source]
def self.write_string(io : IO, field_number : Int32, value : String) : Nil #

[View source]
def self.write_varint(io : IO, value : UInt64) : Nil #

[View source]
def self.write_varint_field(io : IO, field_number : Int32, value : UInt64) : Nil #

[View source]