Documentation
¶
Index ¶
- func CreateDirectory(dataDir *string) error
- func Deserialize(struc interface{}, r io.Reader) error
- func DeserializeBytes(reader io.Reader) (data []byte, err error)
- func Ftracef(w io.Writer, format string, a ...interface{})
- func GetDataDir() (string, error)
- func MaxInt32(a int32, b int32) int32
- func MaxInt64(a int64, b int64) int64
- func MaxUint32(a uint32, b uint32) uint32
- func MaxUint64(a uint64, b uint64) uint64
- func MinInt32(a int32, b int32) int32
- func MinInt64(a int64, b int64) int64
- func MinUint32(a uint32, b uint32) uint32
- func Panicf(format string, a ...interface{})
- func Serialize(struc interface{}) []byte
- func SerializeBytes(data []byte) []byte
- func Tracef(format string, a ...interface{})
- type BytesWithoutLengthPrefix
- type Serializable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDirectory ¶
func Deserialize ¶
func GetDataDir ¶
func SerializeBytes ¶
Types ¶
type BytesWithoutLengthPrefix ¶
type BytesWithoutLengthPrefix struct {
Bytes []byte
}
func (*BytesWithoutLengthPrefix) Deserialize ¶
func (this *BytesWithoutLengthPrefix) Deserialize(r io.Reader) error
Click to show internal directories.
Click to hide internal directories.