ByteConverter
Reads and writes data from byte values.
Value members
Abstract methods
Takes 8 Bytes and returns a Int64 (Long)
Takes 8 Bytes and returns a Int64 (Long)
Takes 8 Bytes and returns a UInt64 shifted down to the range of Int64 (Long). The shifted number range runs from -2^63 to 2^63-1, so that UInt64 can be represented in the JVM long (Int64). Addition and subtraction are valid with these long representations, multiplication and division, naturally, are not.
Takes 8 Bytes and returns a UInt64 shifted down to the range of Int64 (Long). The shifted number range runs from -2^63 to 2^63-1, so that UInt64 can be represented in the JVM long (Int64). Addition and subtraction are valid with these long representations, multiplication and division, naturally, are not.
Takes an Int16 (Short), and returns an array of 2 bytes
Takes an Int16 (Short), and returns an array of 2 bytes
Takes an Int32 (Int), and returns an array of 4 bytes
Takes an Int32 (Int), and returns an array of 4 bytes
Takes an Int64 (Long), and returns an array of 8 bytes
Takes an Int64 (Long), and returns an array of 8 bytes
Takes a UInt16 (Char), and returns an array of 2 bytes
Takes a UInt16 (Char), and returns an array of 2 bytes
Takes a UInt32 (as Long), and returns an array of 4 bytes
Takes a UInt32 (as Long), and returns an array of 4 bytes
Takes an Int64 (Long), and returns an array of 8 bytes, shifted up to a UInt64. See breeze.io.ByteConverter.bytesToUInt64Shifted
Takes an Int64 (Long), and returns an array of 8 bytes, shifted up to a UInt64. See breeze.io.ByteConverter.bytesToUInt64Shifted
Concrete methods
Takes 8 Bytes and returns a UInt64 (as ULong), throwing an error if it overflows Long, which is Int64
Takes 8 Bytes and returns a UInt64 (as ULong), throwing an error if it overflows Long, which is Int64