unpackTo

Decodes binary data from file.

This function reads data from file, unpacks binary encoded data and puts them into variables passed as arguments. If read data is too small, DecodeException is thrown.

Passed file must be opened with read access.

Parameters

format

Unpack format

byteOrder

Byte Order to use, ByteOrder.Native is default.

file
Type: File

File to read from values... = Values to un pack to

Throws

DecodeException

Meta