Versions in this module Expand all Collapse all v0 v0.1.2 May 21, 2021 v0.1.1 May 21, 2021 Changes in this version + const GeohashBase32Alphabet + var Base32Encoding = base32.NewEncoding(GeohashBase32Alphabet).WithPadding(base32.NoPadding) + var ErrSyntax = &encodingErr + var GenesisMemberID = uint32(1) + func BufDesc(inBuf []byte) string + func SmartDecodeFromBase32(srcBase32 []byte, tryDst []byte) ([]byte, error) + func SmartMarshal(item Marshalable, tryDst []byte) []byte + func SmartMarshalToBase32(item Marshalable, tryDst []byte) []byte + func Zero(buf []byte) + type Buf struct + Bytes []byte + func (buf *Buf) Unmarshal(srcBuf []byte) error + type Bytes []byte + func (b *Bytes) UnmarshalJSON(in []byte) error + func (b *Bytes) UnmarshalText(input []byte) error + func (b Bytes) MarshalText() ([]byte, error) + func (b Bytes) String() string + type Marshalable interface + Marshal func() ([]byte, error) + MarshalToSizedBuffer func([]byte) (int, error) + Size func() int + type Unmarshalable interface + Unmarshal func([]byte) error