úÎ! ☠    Noneìnetwork-byte-orderlet buf = pack [1,2,3,4]"unsafeWithByteString buf (poke8 0) unpack buf [0,2,3,4]network-byte-orderlet buf = pack [1,2,3,4]-unsafeWithByteString buf (poke16 (7*256 + 8)) unpack buf [7,8,3,4]network-byte-orderlet buf = pack [1,2,3,4]7unsafeWithByteString buf (poke24 (6*65536 + 7*256 + 8)) unpack buf [6,7,8,4]network-byte-orderlet buf = pack [1,2,3,4]7unsafeWithByteString buf (poke32 (6*65536 + 7*256 + 8)) unpack buf [0,6,7,8]network-byte-order let buf = pack [1,2,3,4,5,6,7,8]7unsafeWithByteString buf (poke64 (6*65536 + 7*256 + 8)) unpack buf[0,0,0,0,0,6,7,8]network-byte-orderlet buf = pack [1,2,3,4]unsafeWithByteString buf peek81network-byte-orderlet buf = pack [1,2,3,4]unsafeWithByteString buf peek16258 network-byte-orderlet buf = pack [1,2,3,4]unsafeWithByteString buf peek2466051 network-byte-orderlet buf = pack [1,2,3,4]unsafeWithByteString buf peek3216909060 network-byte-order let buf = pack [1,2,3,4,5,6,7,8]unsafeWithByteString buf peek6472623859790382856 network-byte-orderlet w = 5 :: Word8unpack $ bytestring8 w[5] network-byte-order6let w = foldl' (\x y -> x * 256 + y) 0 [5,6] :: Word16unpack $ bytestring16 w[5,6]network-byte-order:let w = foldl' (\x y -> x * 256 + y) 0 [5,6,7,8] :: Word32unpack $ bytestring32 w [5,6,7,8]network-byte-orderBlet w = foldl' (\x y -> x * 256 + y) 0 [1,2,3,4,5,6,7,8] :: Word64unpack $ bytestring64 w[1,2,3,4,5,6,7,8]network-byte-order let buf = pack [1,2,3,4,5,6,7,8] word8 buf1network-byte-order let buf = pack [1,2,3,4,5,6,7,8] word16 buf258network-byte-order let buf = pack [1,2,3,4,5,6,7,8] word32 buf16909060network-byte-order let buf = pack [1,2,3,4,5,6,7,8] word64 buf72623859790382856network-byte-orderUsing  as  and call the V action of the second argument by passing the start point and the offset of the . Note that if a # is created newly, its offset is 0.       1network-byte-order-0.0.0.0-5Ows5FHgc2M7Ltxzzc0O34Network.ByteOrderOffsetBufferpoke8poke16poke24poke32poke64peek8peek16peek24peek32peek64 bytestring8 bytestring16 bytestring32 bytestring64word8word16word32word64unsafeWithByteStringbytestring-0.10.8.2Data.ByteString.Internal ByteStringghc-prim GHC.TypesIO