Documentation
¶
Index ¶
- Constants
- type Tag
- func (t *Tag) Child(name string) *Tag
- func (t *Tag) CompoundAddChild(name string, tag_type byte) *Tag
- func (t *Tag) GetByte() byte
- func (t *Tag) GetByteArray() []byte
- func (t *Tag) GetChildren() []*Tag
- func (t *Tag) GetDouble() float64
- func (t *Tag) GetFloat() float32
- func (t *Tag) GetInt() int32
- func (t *Tag) GetListType() byte
- func (t *Tag) GetLong() int64
- func (t *Tag) GetShort() int16
- func (t *Tag) GetString() string
- func (t *Tag) ListAddChild() *Tag
- func (t *Tag) ListAddFirst(tag_type byte) *Tag
- func (t *Tag) Print()
- func (t *Tag) Serialize() []byte
- func (t *Tag) Size() int32
- func (t *Tag) String() string
- func (t *Tag) StringIndent(indent int) string
- func (t *Tag) Type() byte
- func (t *Tag) Write(data []byte)
- func (t *Tag) WriteByte(value byte)
- func (t *Tag) WriteByteArray(value []byte)
- func (t *Tag) WriteDouble(value float64)
- func (t *Tag) WriteFloat(value float32)
- func (t *Tag) WriteInt(value int32)
- func (t *Tag) WriteIntArray(value []uint32)
- func (t *Tag) WriteLong(value int64)
- func (t *Tag) WriteLongArray(value []uint64)
- func (t *Tag) WriteShort(value int16)
- func (t *Tag) WriteString(value string)
Constants ¶
View Source
const ( TAG_End = 0x00 TAG_Byte = 0x01 TAG_Short = 0x02 TAG_Int = 0x03 TAG_Long = 0x04 TAG_Float = 0x05 TAG_Double = 0x06 TAG_ByteArray = 0x07 TAG_String = 0x08 TAG_List = 0x09 TAG_Compound = 0x0a TAG_IntArray = 0x0b TAG_LongArray = 0x0c )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tag ¶
type Tag struct {
// contains filtered or unexported fields
}
func NewCompoundTag ¶
func (*Tag) GetByteArray ¶
func (*Tag) GetChildren ¶
func (*Tag) GetListType ¶
func (*Tag) ListAddChild ¶
func (*Tag) ListAddFirst ¶
func (*Tag) StringIndent ¶
func (*Tag) WriteByteArray ¶
func (*Tag) WriteDouble ¶
func (*Tag) WriteFloat ¶
func (*Tag) WriteIntArray ¶
func (*Tag) WriteLongArray ¶
func (*Tag) WriteShort ¶
func (*Tag) WriteString ¶
Click to show internal directories.
Click to hide internal directories.