Unpacker range.
Allows to unpack repeated binary encoded entries with range interface.
Creates instance of Unpacker.
Alias for type tuple
Unpacks next element from source range.
Determines if more data can be unpacked.
Tuple of unpacked elements
Source range/file to read from.
1 ubyte[] bytes = pack!`<hshs`(1, "one", 2, "two"); 2 3 foreach(num, str; bytes) { 4 writeln(num, " ", str); 5 }
See Implementation
Unpacker range.
Allows to unpack repeated binary encoded entries with range interface.