An input stream that decompresses files in the BZip2 format.
More...
|
| | BZip2InputStream (Stream stream) |
| | Construct instance for reading from stream.
|
| override void | Flush () |
| | Flushes the stream.
|
| override long | Seek (long offset, SeekOrigin origin) |
| | Set the streams position. This operation is not supported and will throw a NotSupportedException.
|
| override void | SetLength (long value) |
| | Sets the length of this stream to the given value. This operation is not supported and will throw a NotSupportedExceptionortedException.
|
| override void | Write (byte[] buffer, int offset, int count) |
| | Writes a block of bytes to this stream using data from a buffer. This operation is not supported and will throw a NotSupportedException.
|
| override void | WriteByte (byte value) |
| | Writes a byte to the current position in the file stream. This operation is not supported and will throw a NotSupportedException.
|
| override int | Read (byte[] buffer, int offset, int count) |
| | Read a sequence of bytes and advances the read position by one byte.
|
| override void | Close () |
| | Closes the stream, releasing any associated resources.
|
| override int | ReadByte () |
| | Read a byte from stream advancing position.
|
|
| bool | IsStreamOwner [get, set] |
| | Get/set flag indicating ownership of underlying stream. When the flag is true Close will close the underlying stream also.
|
| override bool | CanRead [get] |
| | Gets a value indicating if the stream supports reading.
|
| override bool | CanSeek [get] |
| | Gets a value indicating whether the current stream supports seeking.
|
| override bool | CanWrite [get] |
| | Gets a value indicating whether the current stream supports writing. This property always returns false.
|
| override long | Length [get] |
| | Gets the length in bytes of the stream.
|
| override long | Position [get, set] |
| | Gets or sets the streams position. Setting the position is not supported and will throw a NotSupportException.
|
An input stream that decompresses files in the BZip2 format.
◆ BZip2InputStream()
| ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.BZip2InputStream |
( |
Stream | stream | ) |
|
Construct instance for reading from stream.
- Parameters
-
◆ BadBlockHeader()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.BadBlockHeader |
( |
| ) |
|
|
staticprivate |
◆ BlockOverrun()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.BlockOverrun |
( |
| ) |
|
|
staticprivate |
◆ BsGetInt32()
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.BsGetInt32 |
( |
| ) |
|
|
private |
◆ BsGetIntVS()
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.BsGetIntVS |
( |
int | numBits | ) |
|
|
private |
◆ BsGetUChar()
| char ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.BsGetUChar |
( |
| ) |
|
|
private |
◆ BsR()
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.BsR |
( |
int | n | ) |
|
|
private |
◆ BsSetStream()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.BsSetStream |
( |
Stream | stream | ) |
|
|
private |
◆ Close()
| override void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.Close |
( |
| ) |
|
Closes the stream, releasing any associated resources.
◆ Complete()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.Complete |
( |
| ) |
|
|
private |
◆ CompressedStreamEOF()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.CompressedStreamEOF |
( |
| ) |
|
|
staticprivate |
◆ CrcError()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.CrcError |
( |
| ) |
|
|
staticprivate |
◆ EndBlock()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.EndBlock |
( |
| ) |
|
|
private |
◆ FillBuffer()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.FillBuffer |
( |
| ) |
|
|
private |
◆ Flush()
| override void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.Flush |
( |
| ) |
|
◆ GetAndMoveToFrontDecode()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.GetAndMoveToFrontDecode |
( |
| ) |
|
|
private |
◆ HbCreateDecodeTables()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.HbCreateDecodeTables |
( |
int[] | limit, |
|
|
int[] | baseArray, |
|
|
int[] | perm, |
|
|
char[] | length, |
|
|
int | minLen, |
|
|
int | maxLen, |
|
|
int | alphaSize ) |
|
staticprivate |
◆ InitBlock()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.InitBlock |
( |
| ) |
|
|
private |
◆ Initialize()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.Initialize |
( |
| ) |
|
|
private |
◆ MakeMaps()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.MakeMaps |
( |
| ) |
|
|
private |
◆ Read()
| override int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.Read |
( |
byte[] | buffer, |
|
|
int | offset, |
|
|
int | count ) |
Read a sequence of bytes and advances the read position by one byte.
- Parameters
-
| buffer | Array of bytes to store values in |
| offset | Offset in array to begin storing data |
| count | The maximum number of bytes to read |
- Returns
- The total number of bytes read into the buffer. This might be less than the number of bytes requested if that number of bytes are not currently available or zero if the end of the stream is reached.
◆ ReadByte()
| override int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.ReadByte |
( |
| ) |
|
Read a byte from stream advancing position.
- Returns
- byte read or -1 on end of stream
◆ RecvDecodingTables()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.RecvDecodingTables |
( |
| ) |
|
|
private |
◆ Seek()
| override long ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.Seek |
( |
long | offset, |
|
|
SeekOrigin | origin ) |
Set the streams position. This operation is not supported and will throw a NotSupportedException.
- Parameters
-
| offset | A byte offset relative to the origin parameter. |
| origin | A value of type SeekOrigin indicating the reference point used to obtain the new position. |
- Returns
- The new position of the stream.
- Exceptions
-
| NotSupportedException | Any access |
◆ SetDecompressStructureSizes()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.SetDecompressStructureSizes |
( |
int | newSize100k | ) |
|
|
private |
◆ SetLength()
| override void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.SetLength |
( |
long | value | ) |
|
Sets the length of this stream to the given value. This operation is not supported and will throw a NotSupportedExceptionortedException.
- Parameters
-
| value | The new length for the stream. |
- Exceptions
-
| NotSupportedException | Any access |
◆ SetupBlock()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.SetupBlock |
( |
| ) |
|
|
private |
◆ SetupNoRandPartA()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.SetupNoRandPartA |
( |
| ) |
|
|
private |
◆ SetupNoRandPartB()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.SetupNoRandPartB |
( |
| ) |
|
|
private |
◆ SetupNoRandPartC()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.SetupNoRandPartC |
( |
| ) |
|
|
private |
◆ SetupRandPartA()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.SetupRandPartA |
( |
| ) |
|
|
private |
◆ SetupRandPartB()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.SetupRandPartB |
( |
| ) |
|
|
private |
◆ SetupRandPartC()
| void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.SetupRandPartC |
( |
| ) |
|
|
private |
◆ Write()
| override void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.Write |
( |
byte[] | buffer, |
|
|
int | offset, |
|
|
int | count ) |
Writes a block of bytes to this stream using data from a buffer. This operation is not supported and will throw a NotSupportedException.
- Parameters
-
| buffer | The buffer to source data from. |
| offset | The offset to start obtaining data from. |
| count | The number of bytes of data to write. |
- Exceptions
-
| NotSupportedException | Any access |
◆ WriteByte()
| override void ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.WriteByte |
( |
byte | value | ) |
|
Writes a byte to the current position in the file stream. This operation is not supported and will throw a NotSupportedException.
- Parameters
-
- Exceptions
-
| NotSupportedException | Any access |
◆ baseArray
◆ baseStream
| Stream ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.baseStream |
|
private |
◆ blockRandomised
| bool ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.blockRandomised |
|
private |
◆ blockSize100k
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.blockSize100k |
|
private |
◆ bsBuff
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.bsBuff |
|
private |
◆ bsLive
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.bsLive |
|
private |
◆ ch2
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.ch2 |
|
private |
◆ chPrev
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.chPrev |
|
private |
◆ computedBlockCRC
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.computedBlockCRC |
|
private |
◆ computedCombinedCRC
| uint ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.computedCombinedCRC |
|
private |
◆ count
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.count |
|
private |
◆ currentChar
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.currentChar = -1 |
|
private |
◆ currentState
◆ i2
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.i2 |
|
private |
◆ inUse
| bool [] ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.inUse = new bool[256] |
|
private |
◆ isStreamOwner
| bool ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.isStreamOwner = true |
|
private |
◆ j2
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.j2 |
|
private |
◆ last
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.last |
|
private |
◆ limit
◆ ll8
| byte [] ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.ll8 |
|
private |
◆ mCrc
◆ minLens
◆ nInUse
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.nInUse |
|
private |
◆ NO_RAND_PART_A_STATE
| const int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.NO_RAND_PART_A_STATE = 5 |
|
staticprivate |
◆ NO_RAND_PART_B_STATE
| const int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.NO_RAND_PART_B_STATE = 6 |
|
staticprivate |
◆ NO_RAND_PART_C_STATE
| const int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.NO_RAND_PART_C_STATE = 7 |
|
staticprivate |
◆ origPtr
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.origPtr |
|
private |
◆ perm
◆ RAND_PART_A_STATE
| const int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.RAND_PART_A_STATE = 2 |
|
staticprivate |
◆ RAND_PART_B_STATE
| const int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.RAND_PART_B_STATE = 3 |
|
staticprivate |
◆ RAND_PART_C_STATE
| const int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.RAND_PART_C_STATE = 4 |
|
staticprivate |
◆ rNToGo
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.rNToGo |
|
private |
◆ rTPos
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.rTPos |
|
private |
◆ selector
◆ selectorMtf
◆ seqToUnseq
| byte [] ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.seqToUnseq = new byte[256] |
|
private |
◆ START_BLOCK_STATE
| const int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.START_BLOCK_STATE = 1 |
|
staticprivate |
◆ storedBlockCRC
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.storedBlockCRC |
|
private |
◆ storedCombinedCRC
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.storedCombinedCRC |
|
private |
◆ streamEnd
| bool ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.streamEnd |
|
private |
◆ tPos
| int ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.tPos |
|
private |
◆ tt
| int [] ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.tt |
|
private |
◆ unseqToSeq
| byte [] ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.unseqToSeq = new byte[256] |
|
private |
◆ unzftab
| int [] ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.unzftab = new int[256] |
|
private |
| byte ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.z |
|
private |
◆ CanRead
| override bool ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.CanRead |
|
get |
Gets a value indicating if the stream supports reading.
◆ CanSeek
| override bool ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.CanSeek |
|
get |
Gets a value indicating whether the current stream supports seeking.
◆ CanWrite
| override bool ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.CanWrite |
|
get |
Gets a value indicating whether the current stream supports writing. This property always returns false.
◆ IsStreamOwner
| bool ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.IsStreamOwner |
|
getset |
Get/set flag indicating ownership of underlying stream. When the flag is true Close will close the underlying stream also.
◆ Length
| override long ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.Length |
|
get |
Gets the length in bytes of the stream.
◆ Position
| override long ICSharpCode.SharpZipLib.BZip2.BZip2InputStream.Position |
|
getset |
Gets or sets the streams position. Setting the position is not supported and will throw a NotSupportException.
- Exceptions
-
| NotSupportedException | Any attempt to set the position |
The documentation for this class was generated from the following file: