메소드 | 설명 | |
---|---|---|
Create ( Stream stream ) : |
Create standard Safe Packer instancde wrapping specified Stream with DefaultCompatibilityOptions. You can specify any derived Stream class like FileStream, MemoryStream, NetworkStream, UnmanagedMemoryStream, or so. |
|
Create ( Stream stream, PackerCompatibilityOptions compatibilityOptions ) : |
Create standard Safe Packer instancde wrapping specified Stream with specified PackerCompatibilityOptions. You can specify any derived Stream class like FileStream, MemoryStream, NetworkStream, UnmanagedMemoryStream, or so. |
|
Create ( Stream stream, PackerCompatibilityOptions compatibilityOptions, |
Create standard Safe Packer instancde wrapping specified Stream with specified PackerCompatibilityOptions. You can specify any derived Stream class like FileStream, MemoryStream, NetworkStream, UnmanagedMemoryStream, or so. |
|
Create ( Stream stream, PackerCompatibilityOptions compatibilityOptions, bool ownsStream ) : |
Create standard Safe Packer instancde wrapping specified Stream with specified PackerCompatibilityOptions. You can specify any derived Stream class like FileStream, MemoryStream, NetworkStream, UnmanagedMemoryStream, or so. |
|
Create ( Stream stream, bool ownsStream ) : |
Create standard Safe Packer instancde wrapping specified Stream with DefaultCompatibilityOptions. You can specify any derived Stream class like FileStream, MemoryStream, NetworkStream, UnmanagedMemoryStream, or so. |
|
Dispose ( ) : void |
Clean up internal resources.
|
|
Flush ( ) : void |
Flushes internal buffer (including underlying stream).
|
|
FlushAsync ( ) : Task |
Flushes internal buffer (including underlying stream) asynchronously.
|
|
FlushAsync ( |
Flushes internal buffer (including underlying stream) asynchronously.
|
|
Pack ( System.Boolean value ) : |
Pack nullable Boolean value.
|
|
Pack ( Byte value ) : |
Pack nullable Byte value.
|
|
Pack ( Double value ) : |
Pack nullable Double value.
|
|
Pack ( |
Pack nullable Int16 value.
|
|
Pack ( |
Pack nullable Int32 value.
|
|
Pack ( System.Int64 value ) : |
Pack nullable Int64 value.
|
|
Pack ( System.Single value ) : |
Pack nullable Single value.
|
|
Pack ( bool value ) : |
Packs Boolean value to current stream.
|
|
Pack ( byte value ) : |
Packs Byte value to current stream.
|
|
PackAsync ( System.Boolean value ) : Task |
Pack nullable Boolean value asynchronously.
|
|
PackAsync ( System.Boolean value, |
Pack nullable Boolean value asynchronously.
|
|
PackAsync ( Byte value ) : Task |
Pack nullable Byte value asynchronously.
|
|
PackAsync ( Byte value, |
Pack nullable Byte value asynchronously.
|
|
PackAsync ( Double value ) : Task |
Pack nullable Double value asynchronously.
|
|
PackAsync ( Double value, |
Pack nullable Double value asynchronously.
|
|
PackAsync ( |
Pack nullable Int16 value asynchronously.
|
|
PackAsync ( |
Pack nullable Int16 value asynchronously.
|
|
PackAsync ( |
Pack nullable Int32 value asynchronously.
|
|
PackAsync ( |
Pack nullable Int32 value asynchronously.
|
|
PackAsync ( System.Int64 value ) : Task |
Pack nullable Int64 value asynchronously.
|
|
PackAsync ( System.Int64 value, |
Pack nullable Int64 value asynchronously.
|
|
PackAsync ( System.Single value ) : Task |
Pack nullable Single value asynchronously.
|
|
PackAsync ( System.Single value, |
Pack nullable Single value asynchronously.
|
|
PackAsync ( bool value ) : Task |
Packs Boolean value to current stream asynchronously.
|
|
PackAsync ( bool value, |
Packs Boolean value to current stream asynchronously.
|
|
PackAsync ( byte value ) : Task |
Packs Byte value to current stream asynchronously.
|
|
PackAsync ( byte value, |
Packs Byte value to current stream asynchronously.
|
|
PackNull ( ) : |
Packs a null value to current stream.
|
|
PackNullAsync ( ) : Task |
Packs a null value to current stream asynchronously.
|
|
PackNullAsync ( |
Packs a null value to current stream asynchronously.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
When overridden by derived class, release all unmanaged resources, optionally release managed resources.
|
|
Packer ( ) : System |
Initializes a new instance of the Packer class with DefaultCompatibilityOptions.
|
|
Packer ( PackerCompatibilityOptions compatibilityOptions ) : System |
Initializes a new instance of the Packer class with specified PackerCompatibilityOptions.
|
|
SeekTo ( long offset ) : void |
When overridden by derived class, change current position to specified offset.
|
|
TryPackInt8 ( long value ) : bool |
Try packs SByte value to current stream strictly.
|
|
TryPackInt8Async ( long value ) : Task |
Try packs SByte value to current stream strictly asynchronously.
|
|
TryPackInt8Async ( long value, |
Try packs SByte value to current stream strictly asynchronously.
|
|
TryPackTinySignedInteger ( long value ) : bool |
Try packs SByte value to current stream as tiny fix num.
|
|
TryPackTinySignedIntegerAsync ( long value ) : Task |
Try packs SByte value to current stream as tiny fix num asynchronously.
|
|
TryPackTinySignedIntegerAsync ( long value, |
Try packs SByte value to current stream as tiny fix num asynchronously.
|
|
WriteByte ( byte value ) : void |
When overridden by derived class, writes specified byte to stream using implementation specific manner.
|
|
WriteByteAsync ( byte value ) : Task |
When overridden by derived class, writes specified byte to stream using implementation specific manner asynchronously.
|
|
WriteByteAsync ( byte value, |
When overridden by derived class, writes specified byte to stream using implementation specific manner asynchronously.
|
|
WriteBytesAsync ( ICollection |
Writes specified bytes to stream using implementation specific most efficient manner asynchronously.
|
|
WriteBytesAsync ( ICollection |
Writes specified bytes to stream using implementation specific most efficient manner asynchronously.
|
|
WriteBytesAsync ( byte value, bool isImmutable ) : Task |
Writes specified bytes to stream using implementation specific most efficient manner asynchronously.
|
|
WriteBytesAsync ( byte value, bool isImmutable, |
Writes specified bytes to stream using implementation specific most efficient manner asynchronously.
|
메소드 | 설명 | |
---|---|---|
Pack ( SByte value ) : |
||
Pack ( |
||
Pack ( |
||
Pack ( System.UInt64 value ) : |
||
Pack ( sbyte value ) : |
||
PackAsync ( SByte value ) : Task | ||
PackAsync ( SByte value, |
||
PackAsync ( |
||
PackAsync ( |
||
PackAsync ( |
||
PackAsync ( |
||
PackAsync ( System.UInt64 value ) : Task | ||
PackAsync ( System.UInt64 value, |
||
PackAsync ( sbyte value ) : Task | ||
PackAsync ( sbyte value, |
||
PrivatePackAsyncCore ( bool value, |
||
PrivatePackAsyncCore ( byte value, |
||
PrivatePackAsyncCore ( sbyte value, |
||
PrivatePackCore ( bool value ) : void | ||
PrivatePackCore ( byte value ) : void | ||
PrivatePackCore ( sbyte value ) : void | ||
PrivatePackNullAsyncCore ( |
||
PrivatePackNullCore ( ) : void | ||
ThrowArgumentNullException ( string parameterName ) : void | ||
ThrowCannotBeNegativeException ( string parameterName ) : void | ||
ThrowExtTypeIsProhibitedException ( ) : void | ||
ThrowMissingBodyOfExtTypeValueException ( string parameterName ) : void | ||
ThrowObjectDisposedException ( ) : void | ||
TryPackTinyUnsignedInteger ( ulong value ) : bool | ||
TryPackTinyUnsignedIntegerAsync ( ulong value ) : Task |
||
TryPackTinyUnsignedIntegerAsync ( ulong value, |
||
TryPackUInt8 ( ulong value ) : bool | ||
TryPackUInt8Async ( ulong value ) : Task |
||
TryPackUInt8Async ( ulong value, |
||
VerifyNotDisposed ( ) : void | ||
WriteBytes ( ICollection |
||
WriteBytes ( byte value, bool isImmutable ) : void |
public static Create ( Stream stream ) : |
||
stream | Stream | |
리턴 |
public static Create ( Stream stream, PackerCompatibilityOptions compatibilityOptions ) : |
||
stream | Stream | |
compatibilityOptions | PackerCompatibilityOptions | A |
리턴 |
public static Create ( Stream stream, PackerCompatibilityOptions compatibilityOptions, |
||
stream | Stream | |
compatibilityOptions | PackerCompatibilityOptions | A |
streamOptions | ||
리턴 |
public static Create ( Stream stream, PackerCompatibilityOptions compatibilityOptions, bool ownsStream ) : |
||
stream | Stream | |
compatibilityOptions | PackerCompatibilityOptions | A |
ownsStream | bool |
/// |
리턴 |
public static Create ( Stream stream, bool ownsStream ) : |
||
stream | Stream | |
ownsStream | bool |
/// |
리턴 |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | If true, release managed resources too. |
리턴 | void |
public FlushAsync ( |
||
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
리턴 | Task |
public Pack ( System.Boolean value ) : |
||
value | System.Boolean | Value to serialize. |
리턴 |
public Pack ( System.Int64 value ) : |
||
value | System.Int64 | Value to serialize. |
리턴 |
public Pack ( System.Single value ) : |
||
value | System.Single | Value to serialize. |
리턴 |
public PackAsync ( System.Boolean value ) : Task | ||
value | System.Boolean | Value to serialize. |
리턴 | Task |
public PackAsync ( System.Boolean value, |
||
value | System.Boolean | Value to serialize. |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
리턴 | Task |
public PackAsync ( Byte value, |
||
value | Byte | Value to serialize. |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
리턴 | Task |
public PackAsync ( Double value ) : Task | ||
value | Double | Value to serialize. |
리턴 | Task |
public PackAsync ( Double value, |
||
value | Double | Value to serialize. |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
리턴 | Task |
public PackAsync ( |
||
value | Value to serialize. | |
리턴 | Task |
public PackAsync ( |
||
value | Value to serialize. | |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
리턴 | Task |
public PackAsync ( |
||
value | Value to serialize. | |
리턴 | Task |
public PackAsync ( |
||
value | Value to serialize. | |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
리턴 | Task |
public PackAsync ( System.Int64 value ) : Task | ||
value | System.Int64 | Value to serialize. |
리턴 | Task |
public PackAsync ( System.Int64 value, |
||
value | System.Int64 | Value to serialize. |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
리턴 | Task |
public PackAsync ( System.Single value ) : Task | ||
value | System.Single | Value to serialize. |
리턴 | Task |
public PackAsync ( System.Single value, |
||
value | System.Single | Value to serialize. |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
리턴 | Task |
public PackAsync ( bool value, |
||
value | bool | |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
리턴 | Task |
public PackAsync ( byte value, |
||
value | byte | |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
리턴 | Task |
public PackNullAsync ( |
||
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
리턴 | Task |
protected Packer ( PackerCompatibilityOptions compatibilityOptions ) : System | ||
compatibilityOptions | PackerCompatibilityOptions | A |
리턴 | System |
protected SeekTo ( long offset ) : void | ||
offset | long | Offset. You shoud not specify the value which causes underflow or overflow. |
리턴 | void |
protected TryPackInt8Async ( long value ) : Task |
||
value | long | Maybe |
리턴 | Task |
protected TryPackInt8Async ( long value, |
||
value | long | Maybe |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
리턴 | Task |
protected TryPackTinySignedInteger ( long value ) : bool | ||
value | long | Maybe tiny |
리턴 | bool |
protected TryPackTinySignedIntegerAsync ( long value ) : Task |
||
value | long | Maybe tiny |
리턴 | Task |
protected TryPackTinySignedIntegerAsync ( long value, |
||
value | long | Maybe tiny |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
리턴 | Task |
protected abstract WriteByte ( byte value ) : void | ||
value | byte | A byte to be written. |
리턴 | void |
protected WriteByteAsync ( byte value ) : Task | ||
value | byte | A byte to be written. |
리턴 | Task |
protected WriteByteAsync ( byte value, |
||
value | byte | A byte to be written. |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
리턴 | Task |
protected WriteBytesAsync ( ICollection |
||
value | ICollection |
Collection of bytes to be written. |
리턴 | Task |
protected WriteBytesAsync ( ICollection |
||
value | ICollection |
Collection of bytes to be written. |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
리턴 | Task |
protected WriteBytesAsync ( byte value, bool isImmutable ) : Task | ||
value | byte | Bytes to be written. |
isImmutable | bool | If the |
리턴 | Task |
protected WriteBytesAsync ( byte value, bool isImmutable, |
||
value | byte | Bytes to be written. |
isImmutable | bool | If the |
cancellationToken | The token to monitor for cancellation requests. The default value is |
|
리턴 | Task |