summaryrefslogtreecommitdiffstats
path: root/third_party/rust/uniffi_bindgen/src/bindings/python/templates/Float32Helper.py
blob: 49a1a7286efae83644a5e5f8e9d8931a16cf9645 (plain)
1
2
3
4
5
6
7
8
class _UniffiConverterFloat(_UniffiConverterPrimitiveFloat):
    @staticmethod
    def read(buf):
        return buf.read_float()

    @staticmethod
    def write(value, buf):
        buf.write_float(value)