module SuperIO

Overview

TODO Write documentation for SuperIo

Extended Modules

Defined in:

super_io.cr
super_io/save_load.cr
super_io/version.cr

Constant Summary

VERSION = "0.1.0"

Instance Method Summary

Macro Summary

Instance Method Detail

def from_io(cls : Hash(K, V).class, io : IO, format : IO::ByteFormat) forall K, V #

[View source]
def from_io(arr : Array(String).class, io : IO, format : IO::ByteFormat) #

[View source]
def from_io(arr : Array(E).class, io : IO, format : IO::ByteFormat) forall E #

[View source]
def from_io(arr : Slice(String).class, io : IO, format : IO::ByteFormat) #

[View source]
def from_io(arr : Slice(E).class, io : IO, format : IO::ByteFormat) forall E #

[View source]
def from_io(t : Char.class, io : IO, format : IO::ByteFormat) forall T #

[View source]
def from_io(t : Int.class, io : IO, format : IO::ByteFormat) #

[View source]
def from_io(t : Bool.class, io : IO, format : IO::ByteFormat) #

[View source]
def from_io(t : Regex.class, io : IO, format : IO::ByteFormat) #

[View source]
def from_io(t : String.class, io : IO, format : IO::ByteFormat, bytes = Array(UInt8).new) #

[View source]
def from_io(t, io : IO, format : IO::ByteFormat) #

[View source]
def ptr_from_io(t : Pointer(T).class, io : IO, format : IO::ByteFormat, &) forall T #

[View source]
def ptr_from_io(t : Pointer(T).class, io : IO, format : IO::ByteFormat) forall T #

[View source]
def ptr_to_io(ptr : Pointer(T), size : Int, io : IO, format : IO::ByteFormat) forall T #

[View source]
def to_io(hash : Hash(K, V), io : IO, format : IO::ByteFormat) forall K, V #

[View source]
def to_io(arr : Array(E) | Slice(E), io : IO, format : IO::ByteFormat) forall E #

[View source]
def to_io(i : Pointer(T), io : IO, format : IO::ByteFormat) forall T #

[View source]
def to_io(i : Char, io : IO, format : IO::ByteFormat) forall T #

[View source]
def to_io(i : Int, io : IO, format : IO::ByteFormat) #

[View source]
def to_io(s : String, io : IO, format : IO::ByteFormat) #

[View source]
def to_io(r : Regex, io : IO, format : IO::ByteFormat) #

[View source]
def to_io(s : Bool, io : IO, format : IO::ByteFormat) #

[View source]
def to_io(v : T, io : IO, format : IO::ByteFormat) forall T #

[View source]

Macro Detail

macro reflect_io #

[View source]
macro reflect_save_load #

[View source]
macro save_load #

[View source]