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 :: forall m. MonadEffect m => FieldNumber -> Number -> PutM m Unitdouble Scalar Value Type
#float Source
float :: forall m. MonadEffect m => FieldNumber -> Float32 -> PutM m Unitfloat Scalar Value Type
#int32 Source
int32 :: forall m. MonadEffect m => FieldNumber -> Int -> PutM m Unitint32 Scalar Value Type
#int64 Source
int64 :: forall m. MonadEffect m => FieldNumber -> Long Signed -> PutM m Unitint64 Scalar Value Type
#uint32 Source
uint32 :: forall m. MonadEffect m => FieldNumber -> UInt -> PutM m Unituint32 Scalar Value Type
#uint64 Source
uint64 :: forall m. MonadEffect m => FieldNumber -> Long Unsigned -> PutM m Unituint64 Scalar Value Type
#sint32 Source
sint32 :: forall m. MonadEffect m => FieldNumber -> Int -> PutM m Unitsint32 Scalar Value Type
#sint64 Source
sint64 :: forall m. MonadEffect m => FieldNumber -> Long Signed -> PutM m Unitsint64 Scalar Value Type
#fixed32 Source
fixed32 :: forall m. MonadEffect m => FieldNumber -> UInt -> PutM m Unitfixed32 Scalar Value Type
#fixed64 Source
fixed64 :: forall m. MonadEffect m => FieldNumber -> Long Unsigned -> PutM m Unitfixed64 Scalar Value Type
#sfixed32 Source
sfixed32 :: forall m. MonadEffect m => FieldNumber -> Int -> PutM m Unitsfixed32 Scalar Value Type
#sfixed64 Source
sfixed64 :: forall m. MonadEffect m => FieldNumber -> Long Signed -> PutM m Unitsfixed64 Scalar Value Type
#bool Source
bool :: forall m. MonadEffect m => FieldNumber -> Boolean -> PutM m Unitbool Scalar Value Type
#string Source
string :: forall m. MonadEffect m => FieldNumber -> String -> PutM m Unitstring Scalar Value Type
#bytes Source
bytes :: forall m. MonadEffect m => FieldNumber -> ArrayBuffer -> PutM m Unitbytes Scalar Value Type
#builder Source
builder :: forall m. MonadEffect m => FieldNumber -> Builder -> PutM m Unittell with a tag and a length delimit.
Re-exports from Protobuf.Encode32 
#varint32 Source
varint32 :: forall m. MonadEffect m => UInt -> PutM m Unithttps://developers.google.com/protocol-buffers/docs/encoding#varints
#tag32 Source
tag32 :: forall m. MonadEffect m => FieldNumber -> WireType -> PutM m Unithttps://developers.google.com/protocol-buffers/docs/encoding#structure