Documentation ¶
Index ¶
- Constants
- Variables
- type Bool
- type Iterator
- func (iter *Iterator) Err() error
- func (iter *Iterator) Next(n int) error
- func (iter *Iterator) Read() []byte
- func (iter *Iterator) ReadByte() (byte, error)
- func (iter *Iterator) ReadUint16() uint16
- func (iter *Iterator) ReadUint32() uint32
- func (iter *Iterator) ReadUint64() uint64
- func (iter *Iterator) ReportError(err error)
- type OID
- type Regconfig
- type Stream
- func (stream *Stream) Bytes() []byte
- func (stream *Stream) Err() error
- func (stream *Stream) Len() int
- func (stream *Stream) ReportError(err error)
- func (stream *Stream) Reset()
- func (stream *Stream) SetUint32(sp int, v uint32)
- func (stream *Stream) Write(p []byte) (int, error)
- func (stream *Stream) WriteByte(b byte) error
- func (stream *Stream) WriteInt32(v int32)
- func (stream *Stream) WriteUint16(v uint16)
- func (stream *Stream) WriteUint32(v uint32)
- func (stream *Stream) WriteUint64(v uint64)
Constants ¶
View Source
const ( MicroSecFromUnixEpochToY2K = 946684800 * 1000000 InftyMicroSecOffset = 9223372036854775807 NegInftyMicroSecOffset = -9223372036854775808 )
timestamp
View Source
const BoolOID = 16
View Source
const OIDOID = 26
View Source
const RegconfigOID = 3734
Variables ¶
View Source
var ErrEOF = errors.New("insufficient bytes left in src")
View Source
var ErrInfinity = errors.New("infinity is not a valid value")
View Source
var ErrInvalidSrcLength = errors.New("invalid valid length for type")
View Source
var ErrNull = errors.New("expected not null value")
View Source
var ErrNumFieldMismatch = errors.New("unexpected number of fields for composite type")
View Source
var ErrTooManyDims = errors.New("too many dims in array")
View Source
var ErrUnexpectedType = errors.New("unexpected type")
View Source
var ErrUnknownVersion = errors.New("unknown version")
Functions ¶
This section is empty.
Types ¶
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
func NewIterator ¶
func (*Iterator) ReadUint16 ¶
func (*Iterator) ReadUint32 ¶
func (*Iterator) ReadUint64 ¶
func (*Iterator) ReportError ¶
type OID ¶
type OID uint32
const UnknownOID OID = 705
func (OID) WriteBinary ¶
func (OID) WriteValue ¶
type Regconfig ¶
type Regconfig int32
const ( Arabic Regconfig = 13068 Danish Regconfig = 13070 Dutch Regconfig = 13072 English Regconfig = 13074 Finnish Regconfig = 13076 French Regconfig = 13078 German Regconfig = 13080 Greek Regconfig = 13082 Hungarian Regconfig = 13084 Indonesian Regconfig = 13086 Irish Regconfig = 13088 Italian Regconfig = 13090 Lithuanian Regconfig = 13092 Nepali Regconfig = 13094 Norwegian Regconfig = 13096 Portuguese Regconfig = 13098 Romanian Regconfig = 13100 Russian Regconfig = 13102 Spanish Regconfig = 13104 Swedish Regconfig = 13106 Tamil Regconfig = 13108 Turkish Regconfig = 13110 )
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
func (*Stream) ReportError ¶
func (*Stream) WriteInt32 ¶
func (*Stream) WriteUint16 ¶
func (*Stream) WriteUint32 ¶
func (*Stream) WriteUint64 ¶
Click to show internal directories.
Click to hide internal directories.