mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-03-05 17:44:52 +01:00
NBT: add data accessors for IntArray and LongArray
This commit is contained in:
parent
a588857ed0
commit
956142385f
2 changed files with 16 additions and 0 deletions
|
@ -68,6 +68,14 @@ public:
|
|||
|
||||
os << indent << "]";
|
||||
}
|
||||
|
||||
uint32_t getLength() const {
|
||||
return len;
|
||||
}
|
||||
|
||||
const uint8_t * getPointer() const {
|
||||
return ptr;
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -68,6 +68,14 @@ public:
|
|||
|
||||
os << indent << "]";
|
||||
}
|
||||
|
||||
uint32_t getLength() const {
|
||||
return len;
|
||||
}
|
||||
|
||||
const uint8_t * getPointer() const {
|
||||
return ptr;
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue