Method: D81#track_count
- Defined in:
- lib/image_formats/D81.rb
#track_count ⇒ Object
for a given byte stream, how many tracks could be interpreted by this image format?
33 34 35 |
# File 'lib/image_formats/D81.rb', line 33 def track_count file_bytes.length/(D81_SECTORS_PER_TRACK*256) end |