writeArray
fn
ubyte[] writeArray(T)(T[] values, ElfEndian fileEndian)Write an array of structs to a byte array.
This template function writes multiple packed structs to a new byte array.
Parameters
values | The array of structs to write. |
fileEndian | The endianness to use for the output. |
Returns
A byte array containing the structs in the specified endianness.