Converts Strings to byte arrays and writes them to the underlying stream. Characters are written as 8-bit ASCII, not 16-bit unicode!!!
The following tables list the members exposed by StringToByteStream.
Public Constructors
Name | Description | |
---|---|---|
![]() |
StringToByteStream |
Public Fields
Name | Description | |
---|---|---|
![]() ![]() |
DEFAULT_BYTE_BUFFER_SIZE |
Protected Fields
Name | Description | |
---|---|---|
![]() |
_byteBuf | |
![]() |
_byteBufferSize | |
![]() |
_s | (inherited from AdapterStream) |
Public Properties
Name | Description | |
---|---|---|
![]() |
CanRead | (inherited from AdapterStream) |
![]() |
CanSeek | (inherited from AdapterStream) |
![]() |
CanTimeout | Gets a value that determines whether the current stream can time out. (inherited from Stream) |
![]() |
CanWrite | (inherited from AdapterStream) |
![]() |
Length | (inherited from AdapterStream) |
![]() |
Position | (inherited from AdapterStream) |
![]() |
ReadTimeout | Gets or sets a value that determines how long the stream will attempt to read before timing out. (inherited from Stream) |
![]() |
TargetStream | (inherited from AdapterStream) |
![]() |
WriteTimeout | Gets or sets a value that determines how long the stream will attempt to write before timing out. (inherited from Stream) |
Public Methods
Name | Description | |
---|---|---|
![]() |
BeginRead | (inherited from AdapterStream) |
![]() |
BeginWrite | (inherited from AdapterStream) |
![]() |
Close | (inherited from AdapterStream) |
![]() |
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 | Overloaded. Releases all resources used by the |
![]() |
EndRead | (inherited from AdapterStream) |
![]() |
EndWrite | (inherited from AdapterStream) |
![]() |
Equals | Determines whether the specified |
![]() |
Flush | (inherited from AdapterStream) |
![]() |
GetHashCode | Serves as a hash function for a particular type. |
![]() |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject) |
![]() |
GetType | Gets the |
![]() |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject) |
![]() |
Read | (inherited from AdapterStream) |
![]() |
ReadByte | (inherited from AdapterStream) |
![]() |
Seek | (inherited from AdapterStream) |
![]() |
SetLength | (inherited from AdapterStream) |
![]() |
ToString | Returns a |
![]() |
Write | Overloaded. |
![]() |
WriteByte | (inherited from AdapterStream) |
Protected Methods
Name | Description | |
---|---|---|
![]() |
CreateWaitHandle | Allocates a |
![]() |
Dispose | Overloaded. Releases all resources used by the |
![]() |
Finalize | Allows an |
![]() |
MemberwiseClone | Overloaded. Creates a shallow copy of the current |