NBT: add data accessors for IntArray and LongArray

This commit is contained in:
Matthias Schiffer 2018-07-21 11:08:27 +02:00
parent a588857ed0
commit 956142385f
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
2 changed files with 16 additions and 0 deletions

View file

@ -68,6 +68,14 @@ public:
os << indent << "]"; os << indent << "]";
} }
uint32_t getLength() const {
return len;
}
const uint8_t * getPointer() const {
return ptr;
}
}; };
} }

View file

@ -68,6 +68,14 @@ public:
os << indent << "]"; os << indent << "]";
} }
uint32_t getLength() const {
return len;
}
const uint8_t * getPointer() const {
return ptr;
}
}; };
} }