Documentation ¶
Index ¶
- func CLen(data []byte) int
- func CLen16(data []byte) int
- func CString(data []byte) string
- func CString16(data []byte) string
- func CStringSet(data []byte, s string) int
- func CStringSet0(data []byte, s string) int
- func CStringSet16(data []byte, s string) int
- type Encoded
- type Reader
- func (r *Reader) Align(off int) bool
- func (r *Reader) Err() error
- func (r *Reader) Offset() int
- func (r *Reader) ReadAllBytes() []byte
- func (r *Reader) ReadBytes(sz int) ([]byte, bool)
- func (r *Reader) ReadBytes16() ([]byte, bool)
- func (r *Reader) ReadBytes32() ([]byte, bool)
- func (r *Reader) ReadBytes8() ([]byte, bool)
- func (r *Reader) ReadF32() (float32, bool)
- func (r *Reader) ReadI16() (int16, bool)
- func (r *Reader) ReadI32() (int32, bool)
- func (r *Reader) ReadI64() (int64, bool)
- func (r *Reader) ReadI8() (int8, bool)
- func (r *Reader) ReadNext(n int) ([]byte, bool)
- func (r *Reader) ReadPointF32() (types.Pointf, bool)
- func (r *Reader) ReadPointI32() (image.Point, bool)
- func (r *Reader) ReadString(sz int) (string, bool)
- func (r *Reader) ReadString16() (string, bool)
- func (r *Reader) ReadString32() (string, bool)
- func (r *Reader) ReadString8() (string, bool)
- func (r *Reader) ReadU16() (uint16, bool)
- func (r *Reader) ReadU24() ([3]byte, bool)
- func (r *Reader) ReadU32() (uint32, bool)
- func (r *Reader) ReadU64() (uint64, bool)
- func (r *Reader) ReadU8() (byte, bool)
- func (r *Reader) ReadWString(sz int) (string, bool)
- func (r *Reader) ReadWString16() (string, bool)
- func (r *Reader) ReadWString32() (string, bool)
- func (r *Reader) ReadWString8() (string, bool)
- func (r *Reader) Remaining() int
- func (r *Reader) Reset(data []byte)
- type String
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CStringSet ¶
func CStringSet0 ¶
func CStringSet16 ¶
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) ReadAllBytes ¶
func (*Reader) ReadBytes16 ¶
func (*Reader) ReadBytes32 ¶
func (*Reader) ReadBytes8 ¶
func (*Reader) ReadString16 ¶
func (*Reader) ReadString32 ¶
func (*Reader) ReadString8 ¶
func (*Reader) ReadWString16 ¶
func (*Reader) ReadWString32 ¶
func (*Reader) ReadWString8 ¶
Click to show internal directories.
Click to hide internal directories.