Documentation ¶
Overview ¶
Package coderx contains coders for primitive types that aren't included in the beam model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Uint32 *coder.CustomCoder Int32 *coder.CustomCoder Uint64 *coder.CustomCoder Int64 *coder.CustomCoder )
Fixed-sized custom coders for integers.
Functions ¶
func NewFloat ¶
func NewFloat(t reflect.Type) (*coder.CustomCoder, error)
NewFloat returns a coder for the given float type. It uses the same encoding scheme as the gob package.
func NewString ¶
func NewString() (*coder.CustomCoder, error)
NewString returns a coder for the string type. It uses the native []byte to string conversion.
Only for custom coder test use.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.