- type StaticDesAction size a = StaticMemAction DesTag size a
- des :: forall t sm_tail. (CanDeserialize t, Nat (BufferReq t)) => StaticDesAction (BufferReq t) t
- apply_des_to_fixed_buffer :: forall size out_type. (NFData out_type, Nat size) => StaticDesAction size out_type -> DesBuffer -> IO (out_type, DesBuffer)
- apply_des_to_fixed_buffer_unsafe :: forall size out_type. StaticDesAction size out_type -> DesBuffer -> IO (out_type, DesBuffer)
Documentation
type StaticDesAction size a = StaticMemAction DesTag size aSource
des :: forall t sm_tail. (CanDeserialize t, Nat (BufferReq t)) => StaticDesAction (BufferReq t) tSource
apply_des_to_fixed_buffer :: forall size out_type. (NFData out_type, Nat size) => StaticDesAction size out_type -> DesBuffer -> IO (out_type, DesBuffer)Source
To execute a deserialization action: - determine the final data model of the deserialization action monad by fixing the initial data model as DMNil. - evaluate the action via CPS
apply_des_to_fixed_buffer_unsafe :: forall size out_type. StaticDesAction size out_type -> DesBuffer -> IO (out_type, DesBuffer)Source