ouroboros-network:protocols
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Network.Protocol.Codec.Utils

Synopsis

Documentation

data WithBytes a Source #

Constructors

WithBytes 

Fields

Instances

Instances details
Show a => Show (WithBytes a) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.Codec.Utils

Eq a => Eq (WithBytes a) Source # 
Instance details

Defined in Ouroboros.Network.Protocol.Codec.Utils

Methods

(==) :: WithBytes a -> WithBytes a -> Bool #

(/=) :: WithBytes a -> WithBytes a -> Bool #

newtype WithByteSpan a Source #

A bytespan functor.

Constructors

WithByteSpan (a, ByteOffset, ByteOffset)