public void ReadAll(byte* buffer, int length) { for (int x = 0; x < length; x++) { buffer[x] = ReadUInt8(); } }