modulepackage
0.0.1
Repository: https://github.com/klab/wsnet2-serializer.git
Documentation: pkg.go.dev
# Functions
MarshalBool marshals boolean value.
MarshalBools marshals bool array format: - TypeBools - 16bit count - repeat: bits...
MarshalByte marshals unsigned 8bit integer.
MarshalBytes marshals bytes array format: - TypeBytes - 16bit count - repeat: byte...
MarshalChar marshals 16bit code-point.
MarshalChars marshals 16bit code-point array format: - TypeChars - 16bit count - repeat: 16bit BE integer...
MarshalDict marshals Dict format: - TypeDict - 8bit count - repeat: - 8bit key length - key string - 16bit body length - marshaled body.
MarshalFloat marshals IEEE 754 double value as comparably.
MarshalDoubles marshals IEEE754 single array.
MarshalFloat marshals IEEE 754 single value as comparably.
MarshalFloats marshals IEEE754 single array.
MarshalInt marshals signed 32bit integer comparably.
MarshalInts marshals signed 32bit integer array format: - TypeInts - 16bit count - repeat: 32bit BE integer...
MarshalList marshals List format: - TypeList - 8bit count - repeat: - 16bit body length - marshaled body.
MarshalLong marshals signed 64bit integer comparably.
MarshalLongs marshals signed 64bit integer array format: - TypeInts - 16bit count - repeat: 64bit BE integer...
MarshalNull marshals null.
MarshalObj marshals Obj format: - TypeObj - 8bit class id (specified by app) - 16bit body length - body.
MarshalSByte marshals signed 8bit integer comparably
This func maps the value -128..127 to unsigned value 0..255 to make the dst array comparable byte-by-byte directly.
MarshalSBytes marshals sbytes array format: - TypeSBytes - 16bit count - repeat: sbyte...
MarshalUShort marshals signed 16bit integer comparably.
MarshalShorts marshals signed 16bit integer array format: - TypeShorts - 16bit count - repeat: 16bit BE integer...
MarshalStr16 marshals long string (len > 255..65545).
MarshalStr8 marshals short string (len <= 255).
No description provided by the author
MarshalUInt marshals unsigned 32bit integer.
MarshalInts marshals unsigned 32bit integer array format: - TypeUInts - 16bit count - repeat: 32bit BE integer...
MarshalULong marshals unsigned 64bit integer.
MarshalULongs marshals unsigned 64bit integer array format: - TypeInts - 16bit count - repeat: 64bit BE integer...
MarshalUShort marshals unsigned 16bit integer.
MarshalUShort marshals unsigned 16bit integer array format: - TypeUShort - 16bit count - repeat: 16bit BE integer...
Unmarshal serialized bytes.
Unmarshal bytes as specified type.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
C#:bool[].
C#:byte.
C#:byte[].
C#:char.
C#:char[].
C#:decimal.
C#:decimal[].
C#:Dictionary<string, object>; count < 256; key length < 256.
C#:double.
C#:double[].
C#:bool (false).
C#:float.
C#:float[].
C#:int (32bit).
C#:int[].
C#:List<object>; count < 256.
C#:long (64bit).
C#:long[].
C#:null.
C#:object.
C#:sbyte.
C#:sbyte[].
C#:short (16bit).
C#:short[].
C#:string; lenght >= 256.
C#:string; lenght < 256.
C#:bool (true).
C#:uint.
C#:uint[].
C#:ulong.
C#:ulong[].
C#:ushort.
C#:ushort[].
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author