Documentation
¶
Index ¶
- type Reader
- func (br *Reader) Read(n int) (ok bool)
- func (br *Reader) ReadBits(i *uint8) (ok bool)
- func (br *Reader) ReadInt16(i *int) (ok bool)
- func (br *Reader) ReadNullString(s *string, max int) (ok bool)
- func (br *Reader) ReadRune(r *rune) (ok bool)
- func (br *Reader) ReadString(s *string, c int) (ok bool)
- func (br *Reader) ReadUInt8(i *int) (ok bool)
- func (br *Reader) ReadUInt16(i *int) (ok bool)
- func (br *Reader) ReadUInt32(i *int) (ok bool)
- type Writer
- func (bw *Writer) Write(p []byte) (ok bool)
- func (bw *Writer) WriteBits(b uint8) (ok bool)
- func (bw *Writer) WriteInt8(i int8) (ok bool)
- func (bw *Writer) WriteInt16(i int16) (ok bool)
- func (bw *Writer) WriteInt32(i int32) (ok bool)
- func (bw *Writer) WriteNullString(s string) (ok bool)
- func (bw *Writer) WriteString(s string) (ok bool)
- func (bw *Writer) WriteUInt8(i uint8) (ok bool)
- func (bw *Writer) WriteUInt16(i uint16) (ok bool)
- func (bw *Writer) WriteUInt32(i uint32) (ok bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
Order binary.ByteOrder
Src io.Reader
Index int
Err error
// contains filtered or unexported fields
}
func (*Reader) ReadUInt16 ¶
func (*Reader) ReadUInt32 ¶
type Writer ¶
func (*Writer) WriteInt16 ¶
func (*Writer) WriteInt32 ¶
func (*Writer) WriteNullString ¶
func (*Writer) WriteString ¶
func (*Writer) WriteUInt8 ¶
func (*Writer) WriteUInt16 ¶
func (*Writer) WriteUInt32 ¶
Click to show internal directories.
Click to hide internal directories.