Documentation ¶
Index ¶
- func String(b []byte, name string) string
- type L
- func (load *L) Byte() byte
- func (load *L) Bytes(n uint32) (data []byte)
- func (load *L) Count(max int, name string) int
- func (load *L) Discard(count uint32)
- func (load *L) Into(buf []byte)
- func (load *L) Read(buf []byte) (int, error)
- func (load *L) ReadByte() (byte, error)
- func (load *L) Span(max int, name string) []struct{}
- func (load *L) String(n uint32, name string) string
- func (load *L) Tell() int64
- func (load *L) Uint32() uint32
- func (load *L) Uint64() uint64
- func (load *L) UnreadByte() error
- func (load *L) Varint32() int32
- func (load *L) Varint64() int64
- func (load *L) Varint7() int8
- func (load *L) Varuint1() bool
- func (load *L) Varuint32() uint32
- func (load *L) Varuint64() uint64
- type Loader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type L ¶
type L struct {
// contains filtered or unexported fields
}
L provides panicking reading and integer decoding methods.
func (*L) UnreadByte ¶ added in v0.34.0
UnreadByte doesn't panic, but returns an error.
Click to show internal directories.
Click to hide internal directories.