private static unsafe byte[] ReadBuffer(byte *buffer, int bufferSize) { byte *p = buffer + bufferSize - 1; while (p >= buffer && *p == 0xfe) { p--; } return(BlobUtilities.ReadBytes(buffer, (int)(p + 1 - buffer))); }
internal byte[] PeekBytes(int offset, int byteCount) { CheckBounds(offset, byteCount); return(BlobUtilities.ReadBytes(Pointer + offset, byteCount)); }