440 lines
23 KiB
C#
440 lines
23 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.IO
|
|
{
|
|
/// <summary>Reads primitive data types as binary values in a specific encoding.</summary>
|
|
// Token: 0x02000281 RID: 641
|
|
[Token(Token = "0x2000281")]
|
|
[ComVisible(true)]
|
|
public class BinaryReader : IDisposable
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryReader" /> class based on the specified stream and using UTF-8 encoding.</summary>
|
|
/// <param name="input">The input stream.</param>
|
|
/// <exception cref="T:System.ArgumentException">The stream does not support reading, is <see langword="null" />, or is already closed.</exception>
|
|
// Token: 0x06001721 RID: 5921 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001721")]
|
|
[Address(RVA = "0x2BA3A30", Offset = "0x2BA2A30", VA = "0x182BA3A30")]
|
|
public BinaryReader(Stream input)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryReader" /> class based on the specified stream and character encoding.</summary>
|
|
/// <param name="input">The input stream.</param>
|
|
/// <param name="encoding">The character encoding to use.</param>
|
|
/// <exception cref="T:System.ArgumentException">The stream does not support reading, is <see langword="null" />, or is already closed.</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="encoding" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06001722 RID: 5922 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001722")]
|
|
[Address(RVA = "0x2BA3800", Offset = "0x2BA2800", VA = "0x182BA3800")]
|
|
public BinaryReader(Stream input, Encoding encoding)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryReader" /> class based on the specified stream and character encoding, and optionally leaves the stream open.</summary>
|
|
/// <param name="input">The input stream.</param>
|
|
/// <param name="encoding">The character encoding to use.</param>
|
|
/// <param name="leaveOpen">
|
|
/// <see langword="true" /> to leave the stream open after the <see cref="T:System.IO.BinaryReader" /> object is disposed; otherwise, <see langword="false" />.</param>
|
|
/// <exception cref="T:System.ArgumentException">The stream does not support reading, is <see langword="null" />, or is already closed.</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="encoding" /> or <paramref name="input" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06001723 RID: 5923 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001723")]
|
|
[Address(RVA = "0x2BA3820", Offset = "0x2BA2820", VA = "0x182BA3820")]
|
|
public BinaryReader(Stream input, Encoding encoding, bool leaveOpen)
|
|
{
|
|
}
|
|
|
|
/// <summary>Exposes access to the underlying stream of the <see cref="T:System.IO.BinaryReader" />.</summary>
|
|
/// <returns>The underlying stream associated with the <see langword="BinaryReader" />.</returns>
|
|
// Token: 0x170002BF RID: 703
|
|
// (get) Token: 0x06001724 RID: 5924 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170002BF")]
|
|
public virtual Stream BaseStream
|
|
{
|
|
[Token(Token = "0x6001724")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Closes the current reader and the underlying stream.</summary>
|
|
// Token: 0x06001725 RID: 5925 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001725")]
|
|
[Address(RVA = "0x2BA20A0", Offset = "0x2BA10A0", VA = "0x182BA20A0", Slot = "6")]
|
|
public virtual void Close()
|
|
{
|
|
}
|
|
|
|
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.BinaryReader" /> class and optionally releases the managed resources.</summary>
|
|
/// <param name="disposing">
|
|
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
|
|
// Token: 0x06001726 RID: 5926 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001726")]
|
|
[Address(RVA = "0x2BA20C0", Offset = "0x2BA10C0", VA = "0x182BA20C0", Slot = "7")]
|
|
protected virtual void Dispose(bool disposing)
|
|
{
|
|
}
|
|
|
|
/// <summary>Releases all resources used by the current instance of the <see cref="T:System.IO.BinaryReader" /> class.</summary>
|
|
// Token: 0x06001727 RID: 5927 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001727")]
|
|
[Address(RVA = "0x2BA20A0", Offset = "0x2BA10A0", VA = "0x182BA20A0", Slot = "4")]
|
|
public void Dispose()
|
|
{
|
|
}
|
|
|
|
/// <summary>Reads characters from the underlying stream and advances the current position of the stream in accordance with the <see langword="Encoding" /> used and the specific character being read from the stream.</summary>
|
|
/// <returns>The next character from the input stream, or -1 if no characters are currently available.</returns>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
// Token: 0x06001728 RID: 5928 RVA: 0x00010278 File Offset: 0x0000E478
|
|
[Token(Token = "0x6001728")]
|
|
[Address(RVA = "0x2BA37D0", Offset = "0x2BA27D0", VA = "0x182BA37D0", Slot = "8")]
|
|
public virtual int Read()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Reads a <see langword="Boolean" /> value from the current stream and advances the current position of the stream by one byte.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the byte is nonzero; otherwise, <see langword="false" />.</returns>
|
|
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x06001729 RID: 5929 RVA: 0x00010290 File Offset: 0x0000E490
|
|
[Token(Token = "0x6001729")]
|
|
[Address(RVA = "0x2BA2910", Offset = "0x2BA1910", VA = "0x182BA2910", Slot = "9")]
|
|
public virtual bool ReadBoolean()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Reads the next byte from the current stream and advances the current position of the stream by one byte.</summary>
|
|
/// <returns>The next byte read from the current stream.</returns>
|
|
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x0600172A RID: 5930 RVA: 0x000102A8 File Offset: 0x0000E4A8
|
|
[Token(Token = "0x600172A")]
|
|
[Address(RVA = "0x2BA2960", Offset = "0x2BA1960", VA = "0x182BA2960", Slot = "10")]
|
|
public virtual byte ReadByte()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Reads a signed byte from this stream and advances the current position of the stream by one byte.</summary>
|
|
/// <returns>A signed byte read from the current stream.</returns>
|
|
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x0600172B RID: 5931 RVA: 0x000102C0 File Offset: 0x0000E4C0
|
|
[Token(Token = "0x600172B")]
|
|
[Address(RVA = "0x2BA31C0", Offset = "0x2BA21C0", VA = "0x182BA31C0", Slot = "11")]
|
|
[CLSCompliant(false)]
|
|
public virtual sbyte ReadSByte()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Reads the next character from the current stream and advances the current position of the stream in accordance with the <see langword="Encoding" /> used and the specific character being read from the stream.</summary>
|
|
/// <returns>A character read from the current stream.</returns>
|
|
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
/// <exception cref="T:System.ArgumentException">A surrogate character was read.</exception>
|
|
// Token: 0x0600172C RID: 5932 RVA: 0x000102D8 File Offset: 0x0000E4D8
|
|
[Token(Token = "0x600172C")]
|
|
[Address(RVA = "0x2BA2B40", Offset = "0x2BA1B40", VA = "0x182BA2B40", Slot = "12")]
|
|
public virtual char ReadChar()
|
|
{
|
|
return '\0';
|
|
}
|
|
|
|
/// <summary>Reads a 2-byte signed integer from the current stream and advances the current position of the stream by two bytes.</summary>
|
|
/// <returns>A 2-byte signed integer read from the current stream.</returns>
|
|
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x0600172D RID: 5933 RVA: 0x000102F0 File Offset: 0x0000E4F0
|
|
[Token(Token = "0x600172D")]
|
|
[Address(RVA = "0x2BA2DF0", Offset = "0x2BA1DF0", VA = "0x182BA2DF0", Slot = "13")]
|
|
public virtual short ReadInt16()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Reads a 2-byte unsigned integer from the current stream using little-endian encoding and advances the position of the stream by two bytes.</summary>
|
|
/// <returns>A 2-byte unsigned integer read from this stream.</returns>
|
|
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x0600172E RID: 5934 RVA: 0x00010308 File Offset: 0x0000E508
|
|
[Token(Token = "0x600172E")]
|
|
[Address(RVA = "0x2BA2DF0", Offset = "0x2BA1DF0", VA = "0x182BA2DF0", Slot = "14")]
|
|
[CLSCompliant(false)]
|
|
public virtual ushort ReadUInt16()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Reads a 4-byte signed integer from the current stream and advances the current position of the stream by four bytes.</summary>
|
|
/// <returns>A 4-byte signed integer read from the current stream.</returns>
|
|
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x0600172F RID: 5935 RVA: 0x00010320 File Offset: 0x0000E520
|
|
[Token(Token = "0x600172F")]
|
|
[Address(RVA = "0x2BA2E70", Offset = "0x2BA1E70", VA = "0x182BA2E70", Slot = "15")]
|
|
public virtual int ReadInt32()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Reads a 4-byte unsigned integer from the current stream and advances the position of the stream by four bytes.</summary>
|
|
/// <returns>A 4-byte unsigned integer read from this stream.</returns>
|
|
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x06001730 RID: 5936 RVA: 0x00010338 File Offset: 0x0000E538
|
|
[Token(Token = "0x6001730")]
|
|
[Address(RVA = "0x2BA3540", Offset = "0x2BA2540", VA = "0x182BA3540", Slot = "16")]
|
|
[CLSCompliant(false)]
|
|
public virtual uint ReadUInt32()
|
|
{
|
|
return 0U;
|
|
}
|
|
|
|
/// <summary>Reads an 8-byte signed integer from the current stream and advances the current position of the stream by eight bytes.</summary>
|
|
/// <returns>An 8-byte signed integer read from the current stream.</returns>
|
|
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x06001731 RID: 5937 RVA: 0x00010350 File Offset: 0x0000E550
|
|
[Token(Token = "0x6001731")]
|
|
[Address(RVA = "0x2BA3010", Offset = "0x2BA2010", VA = "0x182BA3010", Slot = "17")]
|
|
public virtual long ReadInt64()
|
|
{
|
|
return 0L;
|
|
}
|
|
|
|
/// <summary>Reads an 8-byte unsigned integer from the current stream and advances the position of the stream by eight bytes.</summary>
|
|
/// <returns>An 8-byte unsigned integer read from this stream.</returns>
|
|
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
// Token: 0x06001732 RID: 5938 RVA: 0x00010368 File Offset: 0x0000E568
|
|
[Token(Token = "0x6001732")]
|
|
[Address(RVA = "0x2BA3010", Offset = "0x2BA2010", VA = "0x182BA3010", Slot = "18")]
|
|
[CLSCompliant(false)]
|
|
public virtual ulong ReadUInt64()
|
|
{
|
|
return 0UL;
|
|
}
|
|
|
|
/// <summary>Reads a 4-byte floating point value from the current stream and advances the current position of the stream by four bytes.</summary>
|
|
/// <returns>A 4-byte floating point value read from the current stream.</returns>
|
|
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x06001733 RID: 5939 RVA: 0x00010380 File Offset: 0x0000E580
|
|
[Token(Token = "0x6001733")]
|
|
[Address(RVA = "0x2BA3210", Offset = "0x2BA2210", VA = "0x182BA3210", Slot = "19")]
|
|
public virtual float ReadSingle()
|
|
{
|
|
return 0f;
|
|
}
|
|
|
|
/// <summary>Reads an 8-byte floating point value from the current stream and advances the current position of the stream by eight bytes.</summary>
|
|
/// <returns>An 8-byte floating point value read from the current stream.</returns>
|
|
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x06001734 RID: 5940 RVA: 0x00010398 File Offset: 0x0000E598
|
|
[Token(Token = "0x6001734")]
|
|
[Address(RVA = "0x2BA2DB0", Offset = "0x2BA1DB0", VA = "0x182BA2DB0", Slot = "20")]
|
|
public virtual double ReadDouble()
|
|
{
|
|
return 0.0;
|
|
}
|
|
|
|
/// <summary>Reads a decimal value from the current stream and advances the current position of the stream by sixteen bytes.</summary>
|
|
/// <returns>A decimal value read from the current stream.</returns>
|
|
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x06001735 RID: 5941 RVA: 0x000103B0 File Offset: 0x0000E5B0
|
|
[Token(Token = "0x6001735")]
|
|
[Address(RVA = "0x2BA2CC0", Offset = "0x2BA1CC0", VA = "0x182BA2CC0", Slot = "21")]
|
|
public virtual decimal ReadDecimal()
|
|
{
|
|
return 0m;
|
|
}
|
|
|
|
/// <summary>Reads a string from the current stream. The string is prefixed with the length, encoded as an integer seven bits at a time.</summary>
|
|
/// <returns>The string being read.</returns>
|
|
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x06001736 RID: 5942 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001736")]
|
|
[Address(RVA = "0x2BA3250", Offset = "0x2BA2250", VA = "0x182BA3250", Slot = "22")]
|
|
public virtual string ReadString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001737 RID: 5943 RVA: 0x000103C8 File Offset: 0x0000E5C8
|
|
[Token(Token = "0x6001737")]
|
|
[Address(RVA = "0x2BA2270", Offset = "0x2BA1270", VA = "0x182BA2270")]
|
|
private int InternalReadChars(char[] buffer, int index, int count)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06001738 RID: 5944 RVA: 0x000103E0 File Offset: 0x0000E5E0
|
|
[Token(Token = "0x6001738")]
|
|
[Address(RVA = "0x2BA2570", Offset = "0x2BA1570", VA = "0x182BA2570")]
|
|
private int InternalReadOneChar()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Reads the specified number of characters from the current stream, returns the data in a character array, and advances the current position in accordance with the <see langword="Encoding" /> used and the specific character being read from the stream.</summary>
|
|
/// <param name="count">The number of characters to read.</param>
|
|
/// <returns>A character array containing data read from the underlying stream. This might be less than the number of characters requested if the end of the stream is reached.</returns>
|
|
/// <exception cref="T:System.ArgumentException">The number of decoded characters to read is greater than <paramref name="count" />. This can happen if a Unicode decoder returns fallback characters or a surrogate pair.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="count" /> is negative.</exception>
|
|
// Token: 0x06001739 RID: 5945 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001739")]
|
|
[Address(RVA = "0x2BA2B70", Offset = "0x2BA1B70", VA = "0x182BA2B70", Slot = "23")]
|
|
public virtual char[] ReadChars(int count)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Reads the specified number of bytes from the stream, starting from a specified point in the byte array.</summary>
|
|
/// <param name="buffer">The buffer to read data into.</param>
|
|
/// <param name="index">The starting point in the buffer at which to begin reading into the buffer.</param>
|
|
/// <param name="count">The number of bytes to read.</param>
|
|
/// <returns>The number of bytes read into <paramref name="buffer" />. This might be less than the number of bytes requested if that many bytes are not available, or it might be zero if the end of the stream is reached.</returns>
|
|
/// <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />.
|
|
/// -or-
|
|
/// The number of decoded characters to read is greater than <paramref name="count" />. This can happen if a Unicode decoder returns fallback characters or a surrogate pair.</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x0600173A RID: 5946 RVA: 0x000103F8 File Offset: 0x0000E5F8
|
|
[Token(Token = "0x600173A")]
|
|
[Address(RVA = "0x2BA3610", Offset = "0x2BA2610", VA = "0x182BA3610", Slot = "24")]
|
|
public virtual int Read(byte[] buffer, int index, int count)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Reads the specified number of bytes from the current stream into a byte array and advances the current position by that number of bytes.</summary>
|
|
/// <param name="count">The number of bytes to read. This value must be 0 or a non-negative number or an exception will occur.</param>
|
|
/// <returns>A byte array containing data read from the underlying stream. This might be less than the number of bytes requested if the end of the stream is reached.</returns>
|
|
/// <exception cref="T:System.ArgumentException">The number of decoded characters to read is greater than <paramref name="count" />. This can happen if a Unicode decoder returns fallback characters or a surrogate pair.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="count" /> is negative.</exception>
|
|
// Token: 0x0600173B RID: 5947 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x600173B")]
|
|
[Address(RVA = "0x2BA29B0", Offset = "0x2BA19B0", VA = "0x182BA29B0", Slot = "25")]
|
|
public virtual byte[] ReadBytes(int count)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Fills the internal buffer with the specified number of bytes read from the stream.</summary>
|
|
/// <param name="numBytes">The number of bytes to be read.</param>
|
|
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached before <paramref name="numBytes" /> could be read.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">Requested <paramref name="numBytes" /> is larger than the internal buffer size.</exception>
|
|
// Token: 0x0600173C RID: 5948 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600173C")]
|
|
[Address(RVA = "0x2BA2120", Offset = "0x2BA1120", VA = "0x182BA2120", Slot = "26")]
|
|
protected virtual void FillBuffer(int numBytes)
|
|
{
|
|
}
|
|
|
|
/// <summary>Reads in a 32-bit integer in compressed format.</summary>
|
|
/// <returns>A 32-bit integer in compressed format.</returns>
|
|
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
/// <exception cref="T:System.FormatException">The stream is corrupted.</exception>
|
|
// Token: 0x0600173D RID: 5949 RVA: 0x00010410 File Offset: 0x0000E610
|
|
[Token(Token = "0x600173D")]
|
|
[Address(RVA = "0x2BA2860", Offset = "0x2BA1860", VA = "0x182BA2860")]
|
|
protected internal int Read7BitEncodedInt()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x04000C79 RID: 3193
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000C79")]
|
|
private Stream m_stream;
|
|
|
|
// Token: 0x04000C7A RID: 3194
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000C7A")]
|
|
private byte[] m_buffer;
|
|
|
|
// Token: 0x04000C7B RID: 3195
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000C7B")]
|
|
private Decoder m_decoder;
|
|
|
|
// Token: 0x04000C7C RID: 3196
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000C7C")]
|
|
private byte[] m_charBytes;
|
|
|
|
// Token: 0x04000C7D RID: 3197
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4000C7D")]
|
|
private char[] m_singleChar;
|
|
|
|
// Token: 0x04000C7E RID: 3198
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4000C7E")]
|
|
private char[] m_charBuffer;
|
|
|
|
// Token: 0x04000C7F RID: 3199
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4000C7F")]
|
|
private int m_maxCharsSize;
|
|
|
|
// Token: 0x04000C80 RID: 3200
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x44")]
|
|
[Token(Token = "0x4000C80")]
|
|
private bool m_2BytesPerChar;
|
|
|
|
// Token: 0x04000C81 RID: 3201
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x45")]
|
|
[Token(Token = "0x4000C81")]
|
|
private bool m_isMemoryStream;
|
|
|
|
// Token: 0x04000C82 RID: 3202
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x46")]
|
|
[Token(Token = "0x4000C82")]
|
|
private bool m_leaveOpen;
|
|
}
|
|
}
|