Skip to content

v2.0.0

Choose a tag to compare

@Pupix Pupix released this 17 Dec 23:56
· 2 commits to master since this release

Added

  • bigEndian - Indicates that all subsequent reads and writes from the buffer / file should use big-endian byte order.
  • littleEndian - Indicates that all subsequent reads and writes from the buffer / file should use little-endian byte order.
  • isBigEndian - Returns true if the buffer / file is being read in big-endian byte order, or false otherwise.
  • isLittleEndian - Returns true if the buffer / file is being read in little-endian byte order, or false otherwise.
  • path - Returns the physical disk location of the buffer.
  • eof - Returns true if the current read position is at the end of the buffer.
  • int24 - Reads a 24 bit signed integer from the buffer / file.
  • uint24 - Reads a 24 bit unsigned integer from the buffer / file.
  • float16 - Reads a 16 bit floating point number from the buffer / file.
  • Tests - Yeey for keeping code in check

Changed

  • int64 - Now return the actual numeric value instead of the hex representation
  • uint64 - Now return the actual numeric value instead of the hex representation

Removed

  • endianess - Use bigEndian or littleEndian instead
  • stringView - Couldn't be used with big files
  • hexView - Couldn't be used with big files
  • ansiView - Couldn't be used with big files
  • hex - Use toString(16) instead
  • ansi