toByteArray
toByteArray converts data of type T to a ByteArray Any required dependencies should be provided via the constructor of the implementing class
Return
ByteArray to be written to disk
toByteArray converts data of type T to a ByteArray Any required dependencies should be provided via the constructor of the implementing class
ByteArray to be written to disk