bitcoin-hs-0.0.1: Partial implementation of the Bitcoin protocol (as of 2013)

Safe HaskellSafe
LanguageHaskell98

Bitcoin.Misc.OctetStream

Description

Conversion between different "octet stream" formats for convenience.

TODO: utf8 handling for text

Synopsis

Documentation

class OctetStream a where Source #

Instances

OctetStream String Source #

Note: we treat String as an ASCII string here, no fancy utf8 here (it's in the TODO)

OctetStream ByteString Source # 
OctetStream MD5 Source # 
OctetStream SHA512 Source # 
OctetStream SHA256 Source # 
OctetStream SHA1 Source # 
OctetStream RipEmd160 Source # 
OctetStream Hash256 Source # 
OctetStream Hash160 Source # 
OctetStream SharedSecret Source # 
OctetStream ScriptHash Source # 
OctetStream RawScript Source # 
OctetStream PubKeyHash Source # 
OctetStream [Word8] Source #