class HTTP2::SliceReader

Defined in:

hpack.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(bytes : Bytes, default_endianness : IO::ByteFormat = IO::ByteFormat::SystemEndian) #

[View source]

Instance Method Detail

def bytes : Bytes #

[View source]
def current_byte #

[View source]
def default_endianness : IO::ByteFormat #

[View source]
def done? #

[View source]
def offset : Int32 #

[View source]
def read(count) #

[View source]
def read_byte #

[View source]
def read_bytes(type : UInt8.class, endianness = default_endianness) #

[View source]
def read_bytes(type : Int8.class, endianness = default_endianness) #

[View source]
def read_bytes(type : UInt16.class, endianness = default_endianness) #

[View source]
def read_bytes(type : Int16.class, endianness = default_endianness) #

[View source]
def read_bytes(type : UInt32.class, endianness = default_endianness) #

[View source]
def read_bytes(type : Int32.class, endianness = default_endianness) #

[View source]
def read_bytes(type : UInt64.class, endianness = default_endianness) #

[View source]
def read_bytes(type : Int64.class, endianness = default_endianness) #

[View source]