32 lines
425 B
Markdown
32 lines
425 B
Markdown
|
# Iounpack
|
||
|
|
||
|
Provides IO#unpack.
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
Add this line to your application's Gemfile:
|
||
|
|
||
|
```ruby
|
||
|
gem 'iounpack'
|
||
|
```
|
||
|
|
||
|
And then execute:
|
||
|
|
||
|
$ bundle install
|
||
|
|
||
|
Or install it yourself as:
|
||
|
|
||
|
$ gem install iounpack
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
io = File.open '/etc/fstab'
|
||
|
io.unpack( 'n4 a n4 a30')
|
||
|
# =>
|
||
|
|
||
|
## Development
|
||
|
|
||
|
## Contributing
|
||
|
|
||
|
Bug reports and pull requests are welcome on git at https://git.denkn.at/deac/iounpack.
|