struct Murcure::Protos::UDPTunnel

Included Modules

Defined in:

murcure/utils/protos.cr

Constant Summary

FIELDS = {1 => {name: :packet, pb_type: :bytes, crystal_type: Slice(UInt8), cast_type: Slice(UInt8), native: true, optional: false, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(packet : Slice(UInt8)) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def packet : Slice(UInt8) #

def packet=(packet : Slice(UInt8)) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #