Documentation ¶
Index ¶
- func Abs(x int) int
- func AdjustAlign2(offset int) int
- func BytePascalString(str string) ([]byte, int, error)
- func ByteString(str string) []byte
- func ByteUint16(n int) []byte
- func ByteUint32(n int) []byte
- func GetSize(isPSB bool) int
- func PascalString(buf []byte, offset int) (string, int)
- func ReadClassID(buf []byte) (string, int)
- func ReadFloat32(buf []byte, offset int) float32
- func ReadFloat64(buf []byte, offset int) float64
- func ReadInt16(buf []byte, offset int) int16
- func ReadInt32(buf []byte, offset int) int32
- func ReadInt64(buf []byte, offset int) int64
- func ReadString(buf []byte, offset int, limit int) string
- func ReadUint16(buf []byte, offset int) uint16
- func ReadUint32(buf []byte, offset int) uint32
- func ReadUint64(buf []byte, offset int) uint64
- func ReadUint8(buf []byte, offset int) uint8
- func UnicodeString(buf []byte) (string, int)
- type Reader
- func (r *Reader) ReadBoolean() (bool, error)
- func (r *Reader) ReadByte() (byte, error)
- func (r *Reader) ReadBytes(num interface{}) ([]byte, error)
- func (r *Reader) ReadDynamicString() (string, error)
- func (r *Reader) ReadFloat32() (float32, error)
- func (r *Reader) ReadFloat64() (float64, error)
- func (r *Reader) ReadInt() (int, error)
- func (r *Reader) ReadInt16() (int16, error)
- func (r *Reader) ReadInt24() (int, error)
- func (r *Reader) ReadInt32() (int32, error)
- func (r *Reader) ReadInt64() (int64, error)
- func (r *Reader) ReadInt8() (int8, error)
- func (r *Reader) ReadPascalString() (string, error)
- func (r *Reader) ReadPathNumber() (float64, error)
- func (r *Reader) ReadString(n int) (string, error)
- func (r *Reader) ReadUInt16() (uint16, error)
- func (r *Reader) ReadUInt32() (uint32, error)
- func (r *Reader) ReadUInt64() (uint64, error)
- func (r *Reader) ReadUInt8() (uint8, error)
- func (r *Reader) ReadUnicodeString() (string, error)
- func (r *Reader) ReadUnicodeStringLen(num int) (string, error)
- func (r *Reader) Skip(n interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdjustAlign2 ¶
func ByteString ¶
func ByteUint16 ¶
func ByteUint32 ¶
func ReadClassID ¶
func ReadFloat32 ¶
func ReadFloat64 ¶
func ReadUint16 ¶
func ReadUint32 ¶
func ReadUint64 ¶
func UnicodeString ¶
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) ReadBoolean ¶
func (*Reader) ReadDynamicString ¶
func (*Reader) ReadFloat32 ¶
func (*Reader) ReadFloat64 ¶
func (*Reader) ReadPascalString ¶
func (*Reader) ReadPathNumber ¶
func (*Reader) ReadUInt16 ¶
func (*Reader) ReadUInt32 ¶
func (*Reader) ReadUInt64 ¶
func (*Reader) ReadUnicodeString ¶
func (*Reader) ReadUnicodeStringLen ¶
Click to show internal directories.
Click to hide internal directories.