A class that provides methods for unpacking and packing sequences of bytes into an array of unsigned bytes with an indicator of the number of elements in the sequence. The number of elements is written in little-endian byte order at the beginning of each variable-length sequence and is the two bytes preceding the main data. The static methods of this class allow packing and unpacking 9P / Styx protocol sequences (hereinafter we will denote such sequences as VLS - Variable Length Sequences).
LightHouse Software, 2021
The module provides tools for assembling and disassembling variable-length byte sequences that are found in different messages in the 9P / Styx protocol.