- readExif(file) ⇒
Object
Read the EXIF data out of a valid BinaryFile.
- read(file) ⇒
*
Read the EXIF data out of a valid JPG BinaryFile.
Kind: global class
- BinaryFile
- new BinaryFile(byteString)
- .getByteAt(index) ⇒
Number
- .getLength() ⇒
*
- .getStringAt(a, b) ⇒
string
- .getShortAt(offset, isBigEndian) ⇒
*
- .getLongAt(offset, isBigEndian) ⇒
*
- .getSLongAt(offset, isBigEndian) ⇒
number
A binary file abstraction that exposes methods for reading data from a binary file.
Param | Description |
---|---|
byteString | a binary byte string |
Return the byte value at index
Kind: instance method of BinaryFile
Access: public
Param | Type |
---|---|
index | number |
Return the length of the file
Kind: instance method of BinaryFile
Access: public
Return string value starting at position a of length b
Kind: instance method of BinaryFile
Access: public
Param | Type |
---|---|
a | number |
b | number |
Return the short value at offset
Kind: instance method of BinaryFile
Access: public
Param | Type |
---|---|
offset | number |
isBigEndian | Boolean |
Return the long value at offset
Kind: instance method of BinaryFile
Access: public
Param | Type |
---|---|
offset | number |
isBigEndian | Boolean |
Return the signed long value at offset
Kind: instance method of BinaryFile
Access: public
Param | Type |
---|---|
offset | number |
isBigEndian | Boolean |
Read the EXIF data out of a valid BinaryFile.
Kind: global function
Param | Type | Description |
---|---|---|
file | BinaryFile |
A valid JPEG BinaryFile |
Read the EXIF data out of a valid JPG BinaryFile.
Kind: global function
Param | Description |
---|---|
file | A valid JPG file binary |