thirtysixthspan/magtek_card_reader — pull request #4 by mfrederickson (2013-05-17 19:19:35+00:00)
Title: flexible buffer length checking

This is a work around for #3. You can have the buffer length check turned off by passing in `required_buffer_length: 0` to the read method like this (otherwise it defaults to 337):
```
mcr.read timeout: 10000, required_buffer_length: 0
```
This commit also includes changing from an explicit interrupt_transfer call to using the interrupt_transfer call on the device handle so that we don't have to worry with buffer management.