public PacketReader(byte[] buffer, int count) { workspace = buffer; maxReadIndex = count; readIndex = 0; }