public class ZLibStream extends Stream
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.IO.Compression.ZLibStream
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.IO.Compression, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.IO.Compression
|
static java.lang.String |
className
Qualified class name: System.IO.Compression.ZLibStream
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ZLibStream() |
ZLibStream(java.lang.Object instance)
Internal constructor.
|
ZLibStream(Stream stream,
CompressionLevel compressionLevel) |
ZLibStream(Stream stream,
CompressionLevel compressionLevel,
boolean leaveOpen) |
ZLibStream(Stream stream,
CompressionMode mode) |
ZLibStream(Stream stream,
CompressionMode mode,
boolean leaveOpen) |
ZLibStream(Stream stream,
ZLibCompressionOptions compressionOptions,
boolean leaveOpen) |
| Modifier and Type | Method and Description |
|---|---|
IAsyncResult |
BeginRead(byte[] buffer,
int offset,
int count,
AsyncCallback asyncCallback,
NetObject asyncState) |
IAsyncResult |
BeginRead(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4) |
IAsyncResult |
BeginWrite(byte[] buffer,
int offset,
int count,
AsyncCallback asyncCallback,
NetObject asyncState) |
IAsyncResult |
BeginWrite(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4) |
static ZLibStream |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ZLibStream, a cast assert is made to check if types are compatible. |
void |
CopyTo(Stream destination,
int bufferSize) |
Task |
CopyToAsync(Stream destination,
int bufferSize,
CancellationToken cancellationToken) |
ValueTask |
DisposeAsync() |
int |
EndRead(IAsyncResult asyncResult) |
void |
EndWrite(IAsyncResult asyncResult) |
void |
Flush() |
Task |
FlushAsync(CancellationToken cancellationToken) |
Stream |
getBaseStream() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
int |
Read(byte[] buffer,
int offset,
int count) |
int |
Read(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
int |
ReadByte() |
long |
Seek(long offset,
SeekOrigin origin) |
void |
setJCOInstance(JCObject instance) |
void |
SetLength(long value) |
void |
Write(byte[] buffer,
int offset,
int count) |
void |
Write(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
Task |
WriteAsync(byte[] buffer,
int offset,
int count,
CancellationToken cancellationToken) |
Task |
WriteAsync(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
CancellationToken dupParam3) |
void |
WriteByte(byte value) |
close, Close, CopyTo, CopyToAsync, CopyToAsync, CopyToAsync, Dispose, FlushAsync, getCanRead, getCanSeek, getCanTimeout, getCanWrite, getLength, getPosition, getReadTimeout, getWriteTimeout, ReadExactly, ReadExactly, ReadExactlyAsync, ReadExactlyAsync, setPosition, setReadTimeout, setWriteTimeout, Synchronized, WriteAsync, WriteAsyncGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ZLibStream()
throws java.lang.Throwable
java.lang.Throwablepublic ZLibStream(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic ZLibStream(Stream stream, CompressionLevel compressionLevel) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, InvalidOperationException, ZLibException
public ZLibStream(Stream stream, CompressionLevel compressionLevel, boolean leaveOpen) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ZLibException
public ZLibStream(Stream stream, CompressionMode mode) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, InvalidOperationException, ZLibException
public ZLibStream(Stream stream, CompressionMode mode, boolean leaveOpen) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ZLibException
public ZLibStream(Stream stream, ZLibCompressionOptions compressionOptions, boolean leaveOpen) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, OutOfMemoryException, ZLibException
public IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, NullReferenceException, ArgumentException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, IndexOutOfRangeException, InvalidOperationException, EventSourceException
BeginRead in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionNullReferenceExceptionArgumentExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionIndexOutOfRangeExceptionInvalidOperationExceptionEventSourceExceptionpublic IAsyncResult BeginRead(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, NullReferenceException, ArgumentException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, IndexOutOfRangeException, InvalidOperationException, EventSourceException
BeginRead in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionNullReferenceExceptionArgumentExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionIndexOutOfRangeExceptionInvalidOperationExceptionEventSourceExceptionpublic IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, NetObject asyncState) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, NullReferenceException, ArgumentException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, IndexOutOfRangeException, InvalidOperationException, EventSourceException
BeginWrite in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionNullReferenceExceptionArgumentExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionIndexOutOfRangeExceptionInvalidOperationExceptionEventSourceExceptionpublic IAsyncResult BeginWrite(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, NullReferenceException, ArgumentException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, IndexOutOfRangeException, InvalidOperationException, EventSourceException
BeginWrite in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionNullReferenceExceptionArgumentExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionIndexOutOfRangeExceptionInvalidOperationExceptionEventSourceExceptionpublic static ZLibStream cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ZLibStream, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedZLibStream instancejava.lang.Throwable - in case of error during cast operationpublic void CopyTo(Stream destination, int bufferSize) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException, NotSupportedException
CopyTo in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionpublic Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException, NotSupportedException
CopyToAsync in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionpublic ValueTask DisposeAsync() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentException, InvalidOperationException, IndexOutOfRangeException
DisposeAsync in class Streamjava.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionpublic int EndRead(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException
EndRead in class Streamjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionEventSourceExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionpublic void EndWrite(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, EventSourceException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException
EndWrite in class Streamjava.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionEventSourceExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionpublic void Flush()
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException
Flush in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionpublic Task FlushAsync(CancellationToken cancellationToken) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, InvalidOperationException, OutOfMemoryException, EventSourceException
FlushAsync in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionArgumentExceptionInvalidOperationExceptionOutOfMemoryExceptionEventSourceExceptionpublic Stream getBaseStream() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class StreamString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class StreamString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class StreamObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class StreamString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class StreamJCType representing the CLR Type of the instantiated Classpublic int Read(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException
Read in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionpublic int Read(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException
Read in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionpublic int ReadByte()
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException
ReadByte in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionpublic long Seek(long offset,
SeekOrigin origin)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException
Seek in class Streamjava.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class Streampublic void SetLength(long value)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException
SetLength in class Streamjava.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionObjectDisposedExceptionpublic void Write(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException
Write in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionpublic void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException
Write in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionpublic Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, NullReferenceException, ArgumentException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException, InvalidOperationException
WriteAsync in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionNullReferenceExceptionArgumentExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionTaskSchedulerExceptionInvalidOperationExceptionpublic Task WriteAsync(JCORefOut dupParam0, int dupParam1, int dupParam2, CancellationToken dupParam3) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, NullReferenceException, ArgumentException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException, InvalidOperationException
WriteAsync in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionNotSupportedExceptionNullReferenceExceptionArgumentExceptionOperationCanceledExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionTaskSchedulerExceptionInvalidOperationExceptionpublic void WriteByte(byte value)
throws java.lang.Throwable,
PlatformNotSupportedException,
ObjectDisposedException
WriteByte in class Streamjava.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedException