on master help sign in
getUint8Array: use correct "u8" tag
303b22eKevin Buhr
jsaddle/src-ghc/GHCJS/Buffer.hs+1−1
@@ -52,7 +52,7 @@ getInt32Array (SomeBuffer buf) = GHCJSPure $ I.SomeTypedArray <$> buf ^. js "i3"
52{-# INLINE getInt32Array #-}
52{-# INLINE getInt32Array #-}
53
53
54getUint8Array :: SomeBuffer any -> GHCJSPure (I.SomeUint8Array any)
54getUint8Array :: SomeBuffer any -> GHCJSPure (I.SomeUint8Array any)
55−getUint8Array (SomeBuffer buf) = GHCJSPure $ I.SomeTypedArray <$> buf ^. js "u3"
55+getUint8Array (SomeBuffer buf) = GHCJSPure $ I.SomeTypedArray <$> buf ^. js "u8"
56{-# INLINE getUint8Array #-}
56{-# INLINE getUint8Array #-}
57
57
58getUint16Array :: SomeBuffer any -> GHCJSPure (I.SomeUint16Array any)
58getUint16Array :: SomeBuffer any -> GHCJSPure (I.SomeUint16Array any)