support for serialized frames

This commit is contained in:
sergeych committed 2023-03-12 23:22:21 +01:00
1 parent 63b231975b
commit be03163a96
11 files changed
+274 -14

No files matched your search

@@ -35,6 +35,9 @@ inline fun <reified T:Any>DataSink.writeNumber(value: T) {
fun DataSink.writeI32(value: Int) {
writeBytes(intToBytes(value))
}
fun DataSink.writeU32(value: UInt) {
writeBytes(uintToBytes(value))
}
fun DataSink.writeI64(value: Long) {
writeBytes(longToBytes(value))