summaryrefslogtreecommitdiffstats
path: root/toolkit/components/uniffi-bindgen-gecko-js/src/templates/js/Float64.jsm
blob: 039634624a4cc62f91ba93f237e1a5580697d939 (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 8;
    }
    static lift(value) {
        return value;
    }
    static lower(value) {
        return value;
    }
    static write(dataStream, value) {
        dataStream.writeFloat64(value)
    }
    static read(dataStream) {
        return dataStream.readFloat64()
    }
}