Documentation ¶
Index ¶
- type Bytes
- func (b *Bytes) Int32() int32
- func (b *Bytes) Position() int32
- func (b *Bytes) ReadHeader(isValid func(info *DataInfo) bool) error
- func (b *Bytes) Skip(size int32)
- func (b *Bytes) Uint16() uint16
- func (b *Bytes) Uint16Slice(size int32) []uint16
- func (b *Bytes) Uint32() uint32
- func (b *Bytes) Uint32Slice(size int32) []uint32
- func (b *Bytes) Uint8() uint8
- func (b *Bytes) Uint8Slice(n int32) []uint8
- type DataInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bytes ¶
type Bytes struct {
// contains filtered or unexported fields
}
func (*Bytes) Uint16Slice ¶
func (*Bytes) Uint32Slice ¶
func (*Bytes) Uint8Slice ¶
type DataInfo ¶
type DataInfo struct { /** sizeof(UDataInfo) * @stable ICU 2.0 */ Size uint16 /** unused, set to 0 * @stable ICU 2.0*/ ReservedWord uint16 /* platform data properties */ /** 0 for little-endian machine, 1 for big-endian * @stable ICU 2.0 */ IsBigEndian uint8 /** see U_CHARSET_FAMILY values in utypes.h * @stable ICU 2.0*/ CharsetFamily uint8 /** sizeof(UChar), one of { 1, 2, 4 } * @stable ICU 2.0*/ SizeofUChar uint8 /** unused, set to 0 * @stable ICU 2.0*/ ReservedByte uint8 /** data format identifier * @stable ICU 2.0*/ DataFormat [4]uint8 /** versions: [0] major [1] minor [2] milli [3] micro * @stable ICU 2.0*/ FormatVersion [4]uint8 /** versions: [0] major [1] minor [2] milli [3] micro * @stable ICU 2.0*/ DataVersion [4]uint8 }
Click to show internal directories.
Click to hide internal directories.