25 ReadPos = ByteCount = 0;
26 ExternalBuffer = NULL;
27 Buffer = AllocatedBuffer;
54 ExternalBuffer =
data;
57 Current = Buffer = ExternalBuffer;
82 ASSERT(Current != NULL && str != NULL);
84 if (Err !=
OK) {
return; }
88 *str = *Current; Current++; str++;
100 ASSERT(Current != NULL && str != NULL);
104 *Current = *str; Current++; str++;
119 ASSERT(Current != NULL && str != NULL);
121 *str = (
char *) Current;
138 ASSERT(Current != NULL && str != NULL);
141 *Current = *str; Current++; str++;
144 *Current = 0; Current++; ByteCount++;
void GetFixedString(char *str, size_t length)
const errorT ERROR_BufferRead
void ProvideExternal(byte *data, size_t length)
void GetTerminatedString(char **str)
void PutFixedString(const char *str, size_t length)
const errorT ERROR_BufferFull
void PutTerminatedString(const char *str)