diff options
Diffstat (limited to 'src/NBT/ByteArrayTag.hpp')
-rw-r--r-- | src/NBT/ByteArrayTag.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/NBT/ByteArrayTag.hpp b/src/NBT/ByteArrayTag.hpp index 36d9fe7..1e4f2f9 100644 --- a/src/NBT/ByteArrayTag.hpp +++ b/src/NBT/ByteArrayTag.hpp @@ -36,17 +36,14 @@ namespace NBT { class ByteArrayTag : public Tag { private: - friend class Tag; - uint32_t len; const uint8_t *value; +public: ByteArrayTag(Buffer *buffer) { len = buffer->get32(); value = buffer->get(len); } - -public: virtual Type getType() const { return Type::ByteArray; } |