toByteData abstract method
Converts this PackStream data type to a ByteData representation.
This method serializes the data according to the PackStream specification, including the marker byte and any additional bytes needed to represent the value.
Implementation
ByteData toByteData();