# Functions
NewSimpleDataPacker creates a new SizeDataPacker instance.
NewSizeDataPacker creates a new SizeDataPacker instance.
# Structs
DataSplit can split a large slice of byte slices in chunks with len(chunks) <= limit It does not marshal the data.
SimpleDataPacker can split a large slice of byte slices in chunks <= maxPacketSize If one element still exceeds maxPacketSize, it will be returned alone It does the marshaling of the resulted (smaller) slice of byte slices This is a simpler version of a data packer that does not marshall in a repetitive manner currentChunk slice as the SizeDataPacker does.
SizeDataPacker can split a large slice of byte slices in chunks <= maxPacketSize If one element still exceeds maxPacketSize, it will be returned alone It does the marshaling of the resulted (smaller) slice of byte slices.