Module

Network.Ethereum.Web3.Solidity.Bytes

Package
purescript-web3
Repository
f-o-a-m/purescript-web3

#BytesN Source

newtype BytesN n

Instances

#unBytesN Source

unBytesN :: forall n. KnownSize n => BytesN n -> ByteString

Access the underlying raw bytestring

#proxyBytesN Source

proxyBytesN :: forall n. KnownSize n => BytesN n

#update Source

update :: forall n. KnownSize n => BytesN n -> ByteString -> BytesN n

#fromByteString Source

fromByteString :: forall n. KnownSize n => ByteString -> Maybe (BytesN n)

Attempt to coerce a bytestring into one of the appropriate size