| 117 | } |
| 118 | |
| 119 | inline BOOL ByteStreamOutArray::putByte(U8 byte) |
| 120 | { |
| 121 | if (curr == alloc) |
| 122 | { |
| 123 | alloc += 4096; |
| 124 | data = (U8*)realloc_las(data, (U32)alloc); |
| 125 | if (data == 0) |
| 126 | { |
| 127 | return FALSE; |
| 128 | } |
| 129 | } |
| 130 | data[curr] = byte; |
| 131 | if (curr == size) size++; |
| 132 | curr++; |
| 133 | return TRUE; |
| 134 | } |
| 135 | |
| 136 | inline BOOL ByteStreamOutArray::putBytes(const U8* bytes, U32 num_bytes) |
| 137 | { |
nothing calls this directly
no test coverage detected