package
0.0.0-20230423224752-34f5af73ca9e
Repository: https://github.com/dcrodman/archon.git
Documentation: pkg.go.dev
# Functions
BytesFromStruct serializes the fields of a struct to an array of bytes in the order in which the fields are declared and returns total number of bytes converted.
ConvertToUtf16 converts a UTF-8 string to UTF-16 LE and return it as an array of bytes.
StripPadding returns a slice of b without the trailing 0s.
StructFromBytes populates the struct pointed to by targetStruct by reading in a stream of bytes and filling the values in sequential order.