public byte[] ReadByteArrayRaw(int len)
{
var res = new byte[len];
ReadBlock(res);
return res;
}
internal static void SkipHeader(AbstractBufferedReader reader) { var magic = reader.ReadByteArrayRaw(MagicStartOfFile.Length); var withGuid = BitArrayManipulation.CompareByteArray(magic, magic.Length, MagicStartOfFileWithGuid, MagicStartOfFileWithGuid.Length) == 0; if (withGuid) reader.SkipGuid(); }