mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Modified Deserializer::ReadCStr to allow C-strings to be read into a
std::vector<char> starting from any index in the vector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45129 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -156,7 +156,7 @@ public:
|
||||
}
|
||||
|
||||
char* ReadCStr(char* cstr = NULL, unsigned MaxLen=0, bool isNullTerm=true);
|
||||
void ReadCStr(std::vector<char>& buff, bool isNullTerm=false);
|
||||
void ReadCStr(std::vector<char>& buff, bool isNullTerm=false, unsigned Idx=0);
|
||||
|
||||
template <typename T>
|
||||
inline T* ReadOwnedPtr(bool AutoRegister = true) {
|
||||
|
Reference in New Issue
Block a user