/* {"description" : "Utility functions to manipulate byte arrays."} */
interface ByteUtil{
/* {"bytes" : "An array of bytes to reverse."} */
byte[] reverse(byte bytes[])
/* {"hexString" : "An array of ascii hex characters to transpose back into a byte array."} */
byte[] fromHexString(char hexString[])
/* {"bytes" : "An array of bytes to transform into a hexidecimal string."} */
char[] toHexString(byte bytes[])
}
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n data.ByteUtil -m "reason for update" -u yourUsername
Version 1 (this version) by barry
Notes for this version: Standard Library Initialisation