[]
Separate bytes in a long into a byte array lsb to msb order.
public static byte[] setLong(long d)
Type | Name | Description |
---|---|---|
long | d | long to separate |
Type | Description |
---|---|
byte[] | byte [] containing separated int. |
Separate bytes in a long into a byte array lsb to msb order. Return the result in the provided array
public static byte[] setLong(long d, byte[] b)
Type | Name | Description |
---|---|---|
long | d | long to separate |
byte[] | b | return output here. |
Type | Description |
---|---|
byte[] | reference to output. |