describe-0.4.0.1: Combinators for describing binary data structures

Safe HaskellNone
LanguageHaskell2010

Data.Serialize.Describe.Combinators.Remaining

Synopsis

Documentation

newtype Remaining Source #

A Remaining represents the rest of the buffer. Upon serialization, the entire wrapped ByteString will be written.

Constructors

Remaining 
Instances
Generic Remaining Source # 
Instance details

Defined in Data.Serialize.Describe.Combinators.Remaining

Associated Types

type Rep Remaining :: Type -> Type #

Wrapped Remaining Source # 
Instance details

Defined in Data.Serialize.Describe.Combinators.Remaining

Associated Types

type Unwrapped Remaining :: Type

Methods

_Wrapped' :: Iso' Remaining (Unwrapped Remaining)

Describe Remaining Source # 
Instance details

Defined in Data.Serialize.Describe.Combinators.Remaining

Associated Types

type Context m Remaining :: Constraint Source #

Methods

describe :: (MonadTrans m, forall (x :: Type -> Type). Monad x => Monad (m x), Context m Remaining) => DescriptorM m Remaining Remaining Source #

type Rep Remaining Source # 
Instance details

Defined in Data.Serialize.Describe.Combinators.Remaining

type Rep Remaining = D1 (MetaData "Remaining" "Data.Serialize.Describe.Combinators.Remaining" "describe-0.4.0.1-inplace" True) (C1 (MetaCons "Remaining" PrefixI True) (S1 (MetaSel (Just "unwrapRemaining") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ByteString)))
type Unwrapped Remaining Source # 
Instance details

Defined in Data.Serialize.Describe.Combinators.Remaining

type Unwrapped Remaining = GUnwrapped (Rep Remaining)
type Context m Remaining Source # 
Instance details

Defined in Data.Serialize.Describe.Combinators.Remaining

type Context m Remaining = ()