package
3.0.16
Repository: https://github.com/hprose/hprose-golang.git
Documentation: pkg.go.dev

# Functions

AppendInt64 i to buf.
AppendUint64 i to buf.
No description provided by the author
No description provided by the author
No description provided by the author
GetConverter returns the converter for converting src to dest.
GetDecodeHandler for specified type.
No description provided by the author
GetEncodeHandler for specified type.
No description provided by the author
GetStructType by alias.
GetValueDecoder of Type t.
GetValueEncoder of type(v).
No description provided by the author
NewDecoder creates an Decoder instance from byte array.
NewDecoderFromReader creates an Decoder instance from io.Reader.
NewEncoder create an encoder object.
Register the type of the proto with tag.
RegisterConverter for converting src to dest.
RegisterName the type of the proto with name & tag.
RegisterValueDecoder valdec.
RegisterValueEncoder of type(v).
No description provided by the author
No description provided by the author

# Constants

ListTypeISlice represents the default type is []interface{}.
ListTypeSlice represents the default type is []T.
LongTypeBigInt represents the default type is *big.Int.
LongTypeInt represents the default type is int.
LongTypeInt64 represents the default type is int64.
LongTypeUint represents the default type is uint.
LongTypeUint64 represents the default type is uint64.
MapTypeIIMap represents the default type is map[interface{}]interface{}.
MapTypeSIMap represents the default type is map[string]interface{}.
RealTypeBigFloat represents the default type is *big.Float.
RealTypeFloat32 represents the default type is float32.
RealTypeFloat64 represents the default type is float64.
StructTypePtr represents the default type is *T.
StructTypeValue represents the default type is T.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Protocol Tags.
Hprose Tags.
Serialize Type.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Serialize Marks.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.
Hprose Tags.

# Variables

ErrInvalidUTF8 means that a decoder encountered invalid UTF-8.

# Structs

A CastError is returned by Decoder when can not cast source type to destination type.
Decoder is a io.Reader like object, with hprose specific read functions.
An Encoder writes hprose data to an output stream.
FieldAccessor .
No description provided by the author
An UnsupportedTypeError is returned by Encoder when attempting to encode an unsupported value type.

# Interfaces

ValueDecoder is the interface that groups the basic Decode methods.
ValueEncoder is the interface that groups the basic Write and Encode methods.

# Type aliases

DecodeError is returned by Decoder when the data is wrong.
DecodeHandler is an decode handler.
EncodeHandler is an encode handler.
No description provided by the author
LongType represents the default type for decode long integer.
MapType represents the default type for decode map.
RealType represents the default type for decode real number.
No description provided by the author