SbNativeArrayT Methods |
The SbNativeArrayT generic type exposes the following members.
Name | Description | |
---|---|---|
BeginRead | Begins an asynchronous read operation. (Inherited from Stream.) | |
BeginWrite | Begins an asynchronous write operation. (Inherited from Stream.) | |
Close | Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. (Inherited from Stream.) | |
Copy(SbNativeArrayT, SbNativeArrayT, Int32) |
Copy elements from source to destination array.
Positions remain unchanged in source and destination object.
| |
Copy(SbNativeArrayT, Int32, SbNativeArrayT, Int32, Int32) |
Copy count elements from source (starting at sourceIndex) to destination
(starting at destinationIndex).
| |
CopyTo(Stream) | Reads the bytes from the current stream and writes them to the destination stream. (Inherited from Stream.) | |
CopyTo(Stream, Int32) | Reads all the bytes from the current stream and writes them to a destination stream, using a specified buffer size. (Inherited from Stream.) | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
Dispose | Releases all resources used by the Stream. (Inherited from Stream.) | |
EndRead | Waits for the pending asynchronous read to complete. (Inherited from Stream.) | |
EndWrite | Ends an asynchronous write operation. (Inherited from Stream.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Flush |
Overrides the Flush method so that no action is performed.
(Overrides StreamFlush.) | |
GetBuffer |
Returns the array of elements of type T from which this stream was created.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
Read |
Read one element from current stream position and advances the position within the
stream by 1.
| |
Read(NullableT) |
Read one element from current stream position and advances the position within the
stream by 1.
| |
Read(Byte, Int32, Int32) |
Reads the specified number of bytes into the specified array and advances the position within the
stream by the number of bytes read.
(Overrides StreamRead(Byte, Int32, Int32).) | |
ReadBlock |
Copies element from the current stream to an array and advances the position within the
stream by the number of elements read.
| |
ReadByte | Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. (Inherited from Stream.) | |
Seek |
Sets the current position of the current stream to the given value.
(Overrides StreamSeek(Int64, SeekOrigin).) | |
SetLength |
Sets the current position of the current stream to the given value.
(Overrides StreamSetLength(Int64).) | |
ToArray |
Copy elements in this instance to an array of type T.
| |
ToArray(Int32, Int32) |
Copy elements in this instance to an array of type element type.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Write(T) |
Copy an element to current stream position and advances the current position within this stream by 1.
| |
Write(SbNativeArrayT) |
Copy elements from the source array. Use the current Position
as start position.
| |
Write(Byte, Int32, Int32) |
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
(Overrides StreamWrite(Byte, Int32, Int32).) | |
Write(SbNativeArrayT, Int32, Int32) |
Copy elements from the source array. Use the current Position
as start position.
| |
WriteBlock(T) |
Writes a sequence of elements to the current stream and advances the current position within this stream by the number of elements written.
| |
WriteBlock(T, Int32, Int32) |
Writes a sequence of elements to the current stream and advances the current position within this stream by the number of elements written.
| |
WriteByte | Writes a byte to the current position in the stream and advances the position within the stream by one byte. (Inherited from Stream.) |