BinaryParser
Inherits Reference < Object
Class methods
from_io(io : IO, format : IO::ByteFormat)
SourceInstance methods
load(filename : String)
Sourceload(io : IO)
Sourcesave(filename : String)
Sourceto_io(io : IO, format : IO::ByteFormat)
Sourceto_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>
write(io : IO)
SourceMacros
array(name, opt)
Sourcechar(name)
Sourceint16(name)
Sourceint32(name)
Sourceint8(name)
Sourcestring(name, opt = {count: -1})
Sourcetype(name, klass)
Sourceuint16(name)
Sourceuint32(name)
Sourceuint8(name)
Source