File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,19 @@ putter n f v s = do
1818
1919putInt8 :: Int8 -> Serializer -> Eff (writer :: DV.Writer ) Serializer
2020putInt8 = putter 1 DV .setInt8
21+ putInt16 :: Int16 -> Serializer -> Eff (writer :: DV.Writer ) Serializer
2122putInt16 = putter 2 DV .setInt16
23+ putInt32 :: Int32 -> Serializer -> Eff (writer :: DV.Writer ) Serializer
2224putInt32 = putter 4 DV .setInt32
25+ putUint8 :: Uint8 -> Serializer -> Eff (writer :: DV.Writer ) Serializer
2326putUint8 = putter 1 DV .setUint8
27+ putUint16 :: Uint16 -> Serializer -> Eff (writer :: DV.Writer ) Serializer
2428putUint16 = putter 2 DV .setUint16
29+ putUint32 :: Uint32 -> Serializer -> Eff (writer :: DV.Writer ) Serializer
2530putUint32 = putter 4 DV .setUint32
31+ putFloat32 :: Float32 -> Serializer -> Eff (writer :: DV.Writer ) Serializer
2632putFloat32 = putter 4 DV .setFloat32
33+ putFloat64 :: Float64 -> Serializer -> Eff (writer :: DV.Writer ) Serializer
2734putFloat64 = putter 8 DV .setFloat64
2835
2936mapDataView :: forall e . ByteLength -> Serializer -> Eff (writer :: DV.Writer | e ) (Maybe DV.DataView )
You can’t perform that action at this time.
0 commit comments