anmolitor/elm-protoc-utils/2.2.0

NOTE: the latest version is 2.3.0

Formerly andreasewering/elm-protoc-utils. Search finds this package by either name.

Protobuf.Utils.Int32

Utility methods for Int64 needed in the Protobuf/gRPC context.

int32JsonDecoder : Decoder Int

Decodes an Int from a signed integer JSON string (i.e. {"key": "-123456789"}) or a JSON number literal (i.e. {"key": -123}). Fails if the number is outside of the int32 range (-2^31 to 2^31 - 1)

uint32JsonDecoder : Decoder Int

Decodes an Int from an unsigned integer JSON string (i.e. {"key": "123456789"}) or a JSON number literal (i.e. {"key": 123}). Fails if the number is outside of the int32 range (0 to 2^32 - 1)