public class Stream extends MarshalByRefObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.IO.Stream
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.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.IO.Stream
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Stream() |
Stream(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IAsyncResult |
BeginRead(byte[] buffer,
int offset,
int count,
AsyncCallback callback,
NetObject state)
Invokes the .NET member BeginRead.
|
IAsyncResult |
BeginRead(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4)
Invokes the .NET member BeginRead.
|
IAsyncResult |
BeginWrite(byte[] buffer,
int offset,
int count,
AsyncCallback callback,
NetObject state)
Invokes the .NET member BeginWrite.
|
IAsyncResult |
BeginWrite(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4)
Invokes the .NET member BeginWrite.
|
static Stream |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Stream, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Close()
Invokes the .NET member Close.
|
void |
CopyTo(Stream destination)
Invokes the .NET member CopyTo.
|
void |
CopyTo(Stream destination,
int bufferSize)
Invokes the .NET member CopyTo.
|
Task |
CopyToAsync(Stream destination)
Invokes the .NET member CopyToAsync.
|
Task |
CopyToAsync(Stream destination,
CancellationToken cancellationToken)
Invokes the .NET member CopyToAsync.
|
Task |
CopyToAsync(Stream destination,
int bufferSize)
Invokes the .NET member CopyToAsync.
|
Task |
CopyToAsync(Stream destination,
int bufferSize,
CancellationToken cancellationToken)
Invokes the .NET member CopyToAsync.
|
void |
Dispose()
Invokes the .NET member Dispose.
|
ValueTask |
DisposeAsync()
Invokes the .NET member DisposeAsync.
|
int |
EndRead(IAsyncResult asyncResult)
Invokes the .NET member EndRead.
|
void |
EndWrite(IAsyncResult asyncResult)
Invokes the .NET member EndWrite.
|
void |
Flush()
Invokes the .NET member Flush.
|
Task |
FlushAsync()
Invokes the .NET member FlushAsync.
|
Task |
FlushAsync(CancellationToken cancellationToken)
Invokes the .NET member FlushAsync.
|
boolean |
getCanRead()
Gets the value of the .NET property CanRead.
|
boolean |
getCanSeek()
Gets the value of the .NET property CanSeek.
|
boolean |
getCanTimeout()
Gets the value of the .NET property CanTimeout.
|
boolean |
getCanWrite()
Gets the value of the .NET property CanWrite.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
long |
getLength()
Gets the value of the .NET property Length.
|
long |
getPosition()
Gets the value of the .NET property Position.
|
int |
getReadTimeout()
Gets the value of the .NET property ReadTimeout.
|
int |
getWriteTimeout()
Gets the value of the .NET property WriteTimeout.
|
int |
Read(byte[] buffer,
int offset,
int count)
Invokes the .NET member Read.
|
int |
Read(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member Read.
|
Task_1 |
ReadAsync(byte[] buffer,
int offset,
int count)
Invokes the .NET member ReadAsync.
|
Task_1 |
ReadAsync(byte[] buffer,
int offset,
int count,
CancellationToken cancellationToken)
Invokes the .NET member ReadAsync.
|
Task_1 |
ReadAsync(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member ReadAsync.
|
Task_1 |
ReadAsync(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
CancellationToken dupParam3)
Invokes the .NET member ReadAsync.
|
ValueTask_1 |
ReadAsync(Memory_1 buffer,
CancellationToken cancellationToken)
Invokes the .NET member ReadAsync.
|
ValueTask_1 |
ReadAtLeastAsync(Memory_1 buffer,
int minimumBytes,
boolean throwOnEndOfStream,
CancellationToken cancellationToken)
Invokes the .NET member ReadAtLeastAsync.
|
int |
ReadByte()
Invokes the .NET member ReadByte.
|
void |
ReadExactly(byte[] buffer,
int offset,
int count)
Invokes the .NET member ReadExactly.
|
void |
ReadExactly(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member ReadExactly.
|
ValueTask |
ReadExactlyAsync(byte[] buffer,
int offset,
int count,
CancellationToken cancellationToken)
Invokes the .NET member ReadExactlyAsync.
|
ValueTask |
ReadExactlyAsync(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
CancellationToken dupParam3)
Invokes the .NET member ReadExactlyAsync.
|
ValueTask |
ReadExactlyAsync(Memory_1 buffer,
CancellationToken cancellationToken)
Invokes the .NET member ReadExactlyAsync.
|
long |
Seek(long offset,
SeekOrigin origin)
Invokes the .NET member Seek.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
SetLength(long value)
Invokes the .NET member SetLength.
|
void |
setPosition(long Position)
Sets the value of the .NET property Position.
|
void |
setReadTimeout(int ReadTimeout)
Sets the value of the .NET property ReadTimeout.
|
void |
setWriteTimeout(int WriteTimeout)
Sets the value of the .NET property WriteTimeout.
|
static Stream |
Synchronized(Stream stream)
Invokes the .NET member Synchronized.
|
void |
Write(byte[] buffer,
int offset,
int count)
Invokes the .NET member Write.
|
void |
Write(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member Write.
|
Task |
WriteAsync(byte[] buffer,
int offset,
int count)
Invokes the .NET member WriteAsync.
|
Task |
WriteAsync(byte[] buffer,
int offset,
int count,
CancellationToken cancellationToken)
Invokes the .NET member WriteAsync.
|
Task |
WriteAsync(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member WriteAsync.
|
Task |
WriteAsync(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
CancellationToken dupParam3)
Invokes the .NET member WriteAsync.
|
ValueTask |
WriteAsync(ReadOnlyMemory_1 buffer,
CancellationToken cancellationToken)
Invokes the .NET member WriteAsync.
|
void |
WriteByte(byte value)
Invokes the .NET member WriteByte.
|
GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Stream()
throws java.lang.Throwable
java.lang.Throwablepublic Stream(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException
buffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intcallback - the argument of type AsyncCallbackstate - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itpublic IAsyncResult BeginRead(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intdupParam3 - the argument of type AsyncCallbackdupParam4 - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itpublic IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException
buffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intcallback - the argument of type AsyncCallbackstate - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itpublic IAsyncResult BeginWrite(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskSchedulerException, TaskCanceledException, AggregateException, SemaphoreFullException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intdupParam3 - the argument of type AsyncCallbackdupParam4 - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itpublic static Stream cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Stream, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedStream instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Close()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void CopyTo(Stream destination) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ObjectDisposedException
destination - the argument of type Streamjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void CopyTo(Stream destination, int bufferSize) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ObjectDisposedException
destination - the argument of type StreambufferSize - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Task CopyToAsync(Stream destination) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, ObjectDisposedException
destination - the argument of type Streamjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Task CopyToAsync(Stream destination, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ObjectDisposedException
destination - the argument of type StreamcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Task CopyToAsync(Stream destination, int bufferSize) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ObjectDisposedException
destination - the argument of type StreambufferSize - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ObjectDisposedException
destination - the argument of type StreambufferSize - the argument of type intcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void Dispose()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic ValueTask DisposeAsync() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic int EndRead(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, EventSourceException, TaskSchedulerException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException
asyncResult - the argument of type IAsyncResultjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itpublic void EndWrite(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, EventSourceException, TaskSchedulerException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException
asyncResult - the argument of type IAsyncResultjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itpublic void Flush()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Task FlushAsync() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, OutOfMemoryException, EventSourceException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic Task FlushAsync(CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, EventSourceException
cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic boolean getCanRead()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getCanSeek()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getCanTimeout()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getCanWrite()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class MarshalByRefObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class MarshalByRefObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class MarshalByRefObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class MarshalByRefObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class MarshalByRefObjectpublic long getLength()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic long getPosition()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getReadTimeout()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
IndexOutOfRangeException,
RankException,
CultureNotFoundException,
ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic int getWriteTimeout()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
IndexOutOfRangeException,
RankException,
CultureNotFoundException,
ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic int Read(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable
buffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int Read(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Task_1 ReadAsync(byte[] buffer, int offset, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException, ArgumentException, InvalidOperationException
buffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic Task_1 ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, IndexOutOfRangeException, InvalidOperationException, EventSourceException
buffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic Task_1 ReadAsync(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException, ArgumentException, InvalidOperationException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic Task_1 ReadAsync(JCORefOut dupParam0, int dupParam1, int dupParam2, CancellationToken dupParam3) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, IndexOutOfRangeException, InvalidOperationException, EventSourceException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intdupParam3 - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic ValueTask_1 ReadAsync(Memory_1 buffer, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException
buffer - the argument of type Memory_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNullReferenceException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itpublic ValueTask_1 ReadAtLeastAsync(Memory_1 buffer, int minimumBytes, boolean throwOnEndOfStream, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
buffer - the argument of type Memory_1minimumBytes - the argument of type intthrowOnEndOfStream - the argument of type booleancancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic int ReadByte()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void ReadExactly(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IOException
buffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIOException - if the .NET member raises itpublic void ReadExactly(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IOException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIOException - if the .NET member raises itpublic ValueTask ReadExactlyAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
buffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic ValueTask ReadExactlyAsync(JCORefOut dupParam0, int dupParam1, int dupParam2, CancellationToken dupParam3) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intdupParam3 - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic ValueTask ReadExactlyAsync(Memory_1 buffer, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException
buffer - the argument of type Memory_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic long Seek(long offset,
SeekOrigin origin)
throws java.lang.Throwable
offset - the argument of type longorigin - the argument of type SeekOriginjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class MarshalByRefObjectinstance - the new underlying objectpublic void SetLength(long value)
throws java.lang.Throwable
value - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPosition(long Position)
throws java.lang.Throwable
Position - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setReadTimeout(int ReadTimeout)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
IndexOutOfRangeException,
RankException,
CultureNotFoundException,
ObjectDisposedException
ReadTimeout - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setWriteTimeout(int WriteTimeout)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
IndexOutOfRangeException,
RankException,
CultureNotFoundException,
ObjectDisposedException
WriteTimeout - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static Stream Synchronized(Stream stream) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
stream - the argument of type Streamjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void Write(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable
buffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Task WriteAsync(byte[] buffer, int offset, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException, ArgumentException, InvalidOperationException
buffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, IndexOutOfRangeException, InvalidOperationException, EventSourceException
buffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intcancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic Task WriteAsync(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException, ArgumentException, InvalidOperationException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic Task WriteAsync(JCORefOut dupParam0, int dupParam1, int dupParam2, CancellationToken dupParam3) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, IndexOutOfRangeException, InvalidOperationException, EventSourceException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intdupParam3 - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic ValueTask WriteAsync(ReadOnlyMemory_1 buffer, CancellationToken cancellationToken) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, NotSupportedException, NullReferenceException, ObjectDisposedException, OperationCanceledException, TaskCanceledException, AggregateException, SemaphoreFullException, TaskSchedulerException, ArgumentException, InvalidOperationException, ArrayTypeMismatchException
buffer - the argument of type ReadOnlyMemory_1cancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOperationCanceledException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itSemaphoreFullException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void WriteByte(byte value)
throws java.lang.Throwable
value - the argument of type bytejava.lang.Throwable - if the call fails in the bridge or in the CLR