encode
Encodes one scalar of type T as T.sizeof bytes in byte order order — the one-off form of the writer's put.
Parameters
value | the value to encode. |
order | the byte order. |
Returns
the encoded bytes in a fixed-size array.
Encodes one scalar of type T as T.sizeof bytes in byte order order — the one-off form of the writer's put.
value | the value to encode. |
order | the byte order. |