io-binary
io-binary
An IO implementation that supports bit level reading.
Installation
Add this to your application's shard.yml:
dependencies:
io-binary:
github: taylorfinnell/io-binary
Usage
require "io-binary"
io = IO::Binary.new(Bytes.new(1, 3.to_u8)) # single byte of value 3
io.read_bit # => 1
io.read_bit # => 1
io.read_bit # => 0
Limits
Does not implement IO#write.
Repository
io-binary
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- over 8 years ago
- August 23, 2017
License
MIT License
Links
Synced at
Wed, 26 Nov 2025 06:18:12 GMT
Languages