| Package | Description |
|---|---|
| xyz.nickr.nbt |
| Modifier and Type | Method and Description |
|---|---|
static NBTCompression |
NBTCompression.detect(io.netty.buffer.ByteBuf buf)
Detects and retrieves the compression used on the given ByteBuf.
|
static NBTCompression |
NBTCompression.detect(InputStream is)
Detects and retrieves the compression used on the given InputStream.
|
static NBTCompression |
NBTCompression.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NBTCompression[] |
NBTCompression.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
NBTTag |
NBTCodec.decode(io.netty.buffer.ByteBuf buf,
NBTCompression compression)
Decodes a
NBTTag from a given ByteBuf, using a specified NBTCompression method. |
NBTTag |
NBTCodec.decode(InputStream in,
NBTCompression compression)
Decodes a
NBTTag from a given InputStream, using a specified NBTCompression method. |
void |
NBTCodec.encode(io.netty.buffer.ByteBuf buf,
NBTTag tag,
NBTCompression compression)
Encodes an
NBTTag to a given ByteBuf, using a specified NBTCompression method. |
void |
NBTCodec.encode(OutputStream out,
NBTTag tag,
NBTCompression compression)
Encodes an
NBTTag to a given OutputStream, using a specified NBTCompression method. |
Copyright © 2016. All rights reserved.