blob: be1ce942e74bc88f3e7c87f1f84d342c384de37e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class {{ ffi_converter }} extends FfiConverter {
static computeSize() {
return 4;
}
static lift(value) {
return value;
}
static lower(value) {
return value;
}
static write(dataStream, value) {
dataStream.writeFloat32(value)
}
static read(dataStream) {
return dataStream.readFloat32()
}
}
|