BitStream
Inherits Reference < Object
Constructors
new(io : IO, read_or_write)
SourceClass methods
reader(io)
Sourcewriter(io)
SourceInstance methods
current_byte
Sourcecurrent_byte=(current_byte : UInt8)
Sourceflush(bit)
Sourceread_bit
Sourceread_bits(bits)
Sourceread_byte
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_bit(bit : Bool)
Sourcewrite_bits(value, bits)
Sourcewrite_byte(byte : UInt8)
Source