NullStream
Overview
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
- Ancestry: Stream | NullStream
constructor
constructor
NullStream()
init()
NullStream()
Sub New()
CanRead override virtual
property CanRead: Boolean read;
Boolean CanRead { get; }
var CanRead: Boolean { get{} }
Boolean CanRead { __get; }
ReadOnly Property CanRead() As Boolean
CanSeek override virtual
property CanSeek: Boolean read;
Boolean CanSeek { get; }
var CanSeek: Boolean { get{} }
Boolean CanSeek { __get; }
ReadOnly Property CanSeek() As Boolean
CanWrite override virtual
property CanWrite: Boolean read;
Boolean CanWrite { get; }
var CanWrite: Boolean { get{} }
Boolean CanWrite { __get; }
ReadOnly Property CanWrite() As Boolean
Close virtual (declared in Stream)
method Close
void Close()
func Close()
void Close()
Sub Close()
CopyTo (declared in Stream)
method CopyTo(Destination: Stream)
void CopyTo(Stream Destination)
func CopyTo(_ Destination: Stream)
void CopyTo(Stream Destination)
Sub CopyTo(Destination As Stream)
Parameters:
- Destination:
Dispose (declared in Stream)
method Dispose
void Dispose()
func Dispose()
void Dispose()
Sub Dispose()
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
Flush virtual (declared in Stream)
method Flush
void Flush()
func Flush()
void Flush()
Sub Flush()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
Instance
class property Instance: NullStream read;
class NullStream Instance { get; }
static var Instance: NullStream { get{} }
class NullStream Instance { __get; }
Shared ReadOnly Property Instance() As NullStream
IsValid protected override virtual
method IsValid: Boolean
Boolean IsValid()
func IsValid() -> Boolean
Boolean IsValid()
Function IsValid() As Boolean
Length override virtual
property Length: Int64 read;
Int64 Length { get; }
var Length: Int64 { get{} }
Int64 Length { __get; }
ReadOnly Property Length() As Int64
Position virtual (declared in Stream)
Position in this stream.
property Position: Int64 read write;
Int64 Position { get; set; }
var Position: Int64 { get{} set{} }
Int64 Position { __get; __set; }
Property Position() As Int64
Parameters:
- aSpan:
Read from stream into buf.
Parameters:
- buf:
- Count:
Read from stream into buffer.
Parameters:
- Buffer:
- Offset:
- Count:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
Seek override virtual
method Seek(Offset: Int64; Origin: SeekOrigin): Int64
Int64 Seek(Int64 Offset, SeekOrigin Origin)
func Seek(_ Offset: Int64, _ Origin: SeekOrigin) -> Int64
Int64 Seek(Int64 Offset, SeekOrigin Origin)
Function Seek(Offset As Int64, Origin As SeekOrigin) As Int64
Parameters:
- Offset:
- Origin:
SetLength override virtual
method SetLength(value: Int64)
void SetLength(Int64 value)
func SetLength(_ value: Int64)
void SetLength(Int64 value)
Sub SetLength(value As Int64)
Parameters:
- value:
ToArray
method ToArray: array of Byte
Byte[] ToArray()
func ToArray() -> Byte...
Byte[] ToArray()
Function ToArray() As Byte()
ToString virtual (declared in Object)
Gets the string representation of this method.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Write (ImmutableSpan<Byte>): Int32 override virtual
method Write(aSpan: ImmutableSpan<Byte>): Int32
Int32 Write(ImmutableSpan<Byte> aSpan)
func Write(_ aSpan: ImmutableSpan<Byte>) -> Int32
Int32 Write(ImmutableSpan<Byte> aSpan)
Function Write(aSpan As ImmutableSpan<Byte>) As Int32
Parameters:
- aSpan:
Writes buf to a stream.
Parameters:
- buf:
- Count:
Writes a byte array to this stream.
Parameters:
- Buffer:
- Offset:
- Count:
CanRead override virtual
property CanRead: Boolean read;
Boolean CanRead { get; }
var CanRead: Boolean { get{} }
Boolean CanRead { __get; }
ReadOnly Property CanRead() As Boolean
CanSeek override virtual
property CanSeek: Boolean read;
Boolean CanSeek { get; }
var CanSeek: Boolean { get{} }
Boolean CanSeek { __get; }
ReadOnly Property CanSeek() As Boolean
CanWrite override virtual
property CanWrite: Boolean read;
Boolean CanWrite { get; }
var CanWrite: Boolean { get{} }
Boolean CanWrite { __get; }
ReadOnly Property CanWrite() As Boolean
Length override virtual
property Length: Int64 read;
Int64 Length { get; }
var Length: Int64 { get{} }
Int64 Length { __get; }
ReadOnly Property Length() As Int64
Position virtual (declared in Stream)
Position in this stream.
property Position: Int64 read write;
Int64 Position { get; set; }
var Position: Int64 { get{} set{} }
Int64 Position { __get; __set; }
Property Position() As Int64
Instance
class property Instance: NullStream read;
class NullStream Instance { get; }
static var Instance: NullStream { get{} }
class NullStream Instance { __get; }
Shared ReadOnly Property Instance() As NullStream
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
constructor
constructor
NullStream()
init()
NullStream()
Sub New()
Close virtual (declared in Stream)
method Close
void Close()
func Close()
void Close()
Sub Close()
CopyTo (declared in Stream)
method CopyTo(Destination: Stream)
void CopyTo(Stream Destination)
func CopyTo(_ Destination: Stream)
void CopyTo(Stream Destination)
Sub CopyTo(Destination As Stream)
Parameters:
- Destination:
Dispose (declared in Stream)
method Dispose
void Dispose()
func Dispose()
void Dispose()
Sub Dispose()
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
Flush virtual (declared in Stream)
method Flush
void Flush()
func Flush()
void Flush()
Sub Flush()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
IsValid protected override virtual
method IsValid: Boolean
Boolean IsValid()
func IsValid() -> Boolean
Boolean IsValid()
Function IsValid() As Boolean
Parameters:
- aSpan:
Read from stream into buf.
Parameters:
- buf:
- Count:
Read from stream into buffer.
Parameters:
- Buffer:
- Offset:
- Count:
Seek override virtual
method Seek(Offset: Int64; Origin: SeekOrigin): Int64
Int64 Seek(Int64 Offset, SeekOrigin Origin)
func Seek(_ Offset: Int64, _ Origin: SeekOrigin) -> Int64
Int64 Seek(Int64 Offset, SeekOrigin Origin)
Function Seek(Offset As Int64, Origin As SeekOrigin) As Int64
Parameters:
- Offset:
- Origin:
SetLength override virtual
method SetLength(value: Int64)
void SetLength(Int64 value)
func SetLength(_ value: Int64)
void SetLength(Int64 value)
Sub SetLength(value As Int64)
Parameters:
- value:
ToArray
method ToArray: array of Byte
Byte[] ToArray()
func ToArray() -> Byte...
Byte[] ToArray()
Function ToArray() As Byte()
ToString virtual (declared in Object)
Gets the string representation of this method.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Write (ImmutableSpan<Byte>): Int32 override virtual
method Write(aSpan: ImmutableSpan<Byte>): Int32
Int32 Write(ImmutableSpan<Byte> aSpan)
func Write(_ aSpan: ImmutableSpan<Byte>) -> Int32
Int32 Write(ImmutableSpan<Byte> aSpan)
Function Write(aSpan As ImmutableSpan<Byte>) As Int32
Parameters:
- aSpan:
Writes buf to a stream.
Parameters:
- buf:
- Count:
Writes a byte array to this stream.
Parameters:
- Buffer:
- Offset:
- Count: