EndianConversion extension

Extension methods for endian conversion

on

Methods

getFloatAt(int offset, int bytes, StructEndian endian) → double

Available on ByteData, provided by the EndianConversion extension

Read float with specified endianness
getIntAt(int offset, int bytes, StructEndian endian) → int

Available on ByteData, provided by the EndianConversion extension

Read integer with specified endianness
setFloatAt(int offset, int bytes, double value, StructEndian endian) → void

Available on ByteData, provided by the EndianConversion extension

Write float with specified endianness
setIntAt(int offset, int bytes, int value, StructEndian endian) → void

Available on ByteData, provided by the EndianConversion extension

Write integer with specified endianness