lib/parsers/tiff_parser.rb
# TIFFs can be either big or little endian, so we check here
# and set our unpack method argument to suit.
TIFFs can be either big or little endian, so we check here
and set our unpack method argument to suit.
TIFFs can be either big or little endian so we check here and set our unpack method argument to suit .
def scan_tiff_endianness(magic_bytes)
    if magic_bytes == LITTLE_ENDIAN_TIFF_HEADER_BYTES
      'v'
    elsif magic_bytes == BIG_ENDIAN_TIFF_HEADER_BYTES
      'n'
    end
  end
def scan_tiff_endianness ( magic_bytes ) if magic_bytes == LITTLE_ENDIAN_TIFF_HEADER_BYTES 'v' elsif magic_bytes == BIG_ENDIAN_TIFF_HEADER_BYTES 'n' end end
TIFFs can be either big or little endian, so we check here
and set our unpack method argument to suit.
TIFFs can be either big or little endian so we check here and set our unpack method argument to suit .
magic_bytes