Module

Protobuf.Encode

Package
purescript-protobuf
Repository
xc-jp/purescript-protobuf

Primitive builders for encoding Google Protocol Buffers.

Primed (') encoder functions encode without the tag, for packed repeating fields.

#double Source

#double' Source

double' :: forall m. MonadEffect m => Number -> PutM m Unit

#float Source

#float' Source

float' :: forall m. MonadEffect m => Float32 -> PutM m Unit

#int32 Source

int32 :: forall m. MonadEffect m => FieldNumber -> Int -> PutM m Unit

int32 Scalar Value Type

#int32' Source

int32' :: forall m. MonadEffect m => Int -> PutM m Unit

#int64' Source

int64' :: forall m. MonadEffect m => Long Signed -> PutM m Unit

#uint32 Source

uint32 :: forall m. MonadEffect m => FieldNumber -> UInt -> PutM m Unit

uint32 Scalar Value Type

#uint32' Source

uint32' :: forall m. MonadEffect m => UInt -> PutM m Unit

#uint64' Source

uint64' :: forall m. MonadEffect m => Long Unsigned -> PutM m Unit

#sint32 Source

sint32 :: forall m. MonadEffect m => FieldNumber -> Int -> PutM m Unit

sint32 Scalar Value Type

#sint32' Source

sint32' :: forall m. MonadEffect m => Int -> PutM m Unit

#sint64 Source

#sint64' Source

sint64' :: forall m. MonadEffect m => Long Signed -> PutM m Unit

#fixed32 Source

fixed32 :: forall m. MonadEffect m => FieldNumber -> UInt -> PutM m Unit

fixed32 Scalar Value Type

#fixed32' Source

fixed32' :: forall m. MonadEffect m => UInt -> PutM m Unit

#fixed64 Source

#fixed64' Source

fixed64' :: forall m. MonadEffect m => Long Unsigned -> PutM m Unit

#sfixed32 Source

sfixed32 :: forall m. MonadEffect m => FieldNumber -> Int -> PutM m Unit

sfixed32 Scalar Value Type

#sfixed32' Source

sfixed32' :: forall m. MonadEffect m => Int -> PutM m Unit

#sfixed64 Source

#sfixed64' Source

sfixed64' :: forall m. MonadEffect m => Long Signed -> PutM m Unit

#bool' Source

bool' :: forall m. MonadEffect m => Boolean -> PutM m Unit

#string Source

#builder Source

builder :: forall m. MonadEffect m => FieldNumber -> Builder -> PutM m Unit

tell with a tag and a length delimit.

Re-exports from Protobuf.Encode32

Re-exports from Protobuf.Encode64

#varint64 Source

varint64 :: forall m. MonadEffect m => Long Unsigned -> PutM m Unit