module IO::ByteFormat

Overview

Defines a byte format to encode integers and floats.

Defined in:

io/byte_format.cr

Instance Method Summary

Instance Method Detail

abstract def decode(int : UInt16.class, io : IO) #

[View source]
abstract def decode(int : Int32.class, io : IO) #

[View source]
abstract def decode(int : Int16.class, io : IO) #

[View source]
abstract def decode(int : Int8.class, io : IO) #

[View source]
abstract def decode(int : UInt8.class, io : IO) #

[View source]
def decode(type : Float32.class, io : IO) #

[View source]
def decode(type : Float64.class, io : IO) #

[View source]
abstract def decode(int : UInt64.class, io : IO) #

[View source]
abstract def decode(int : UInt32.class, io : IO) #

[View source]
abstract def decode(int : Int64.class, io : IO) #

[View source]
abstract def encode(int : UInt16, io : IO) #

[View source]
abstract def encode(int : Int32, io : IO) #

[View source]
abstract def encode(int : Int16, io : IO) #

[View source]
abstract def encode(int : Int8, io : IO) #

[View source]
abstract def encode(int : UInt8, io : IO) #

[View source]
def encode(float : Float32, io : IO) #

[View source]
def encode(float : Float64, io : IO) #

[View source]
abstract def encode(int : UInt64, io : IO) #

[View source]
abstract def encode(int : UInt32, io : IO) #

[View source]
abstract def encode(int : Int64, io : IO) #

[View source]