public static char GetChar(StreamBuffer source, int readIndex)
{
if (readIndex + sizeof(char) > source.WrittenBytes)
throw new AegisException(AegisResult.BufferUnderflow, "No more readable buffer.");
return BitConverter.ToChar(source.Buffer, readIndex);
}