public static byte ReadByte(this byte[] buffer, ref int offset)
        {
            byte num = ByteArrayExtensions.ReadByte(buffer, offset);

            ++offset;
            return(num);
        }