Click or drag to resize

BinaryString Class

The binary representation of a string.
Inheritance Hierarchy
SystemObject
  Demo3D.IOBinaryString

Namespace:  Demo3D.IO
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntax
C#
[TypeConverterAttribute(typeof(BinaryStringBinaryStringConverter))]
public sealed class BinaryString : IEnumerable, 
	IComparable<BinaryString>, IComparable<string>, IComparable, 
	IEquatable<BinaryString>, IEquatable<string>, IConvertible, 
	ICloneable

The BinaryString type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyBytes
The encoded byte array (includes any header data, etc); only if BytesValid is true.
Public propertyBytesValid
The encoded byte array Bytes is valid.
Public propertyEncoding
The binary text encoding.
Public propertyString
The string representation.
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodCompareTo(BinaryString)
Compares the current instance with another BinaryString and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(String)
Compares the current instance with another string and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in alphabetical order.
Public methodEquals(BinaryString)
Indicates whether the current BinaryString is equal to another string.
Public methodEquals(Object)
Indicates whether the current BinaryString is equal to another string.
(Overrides ObjectEquals(Object).)
Public methodEquals(String)
Indicates whether the current BinaryString is equal to another string.
Public methodGetHashCode
The default hash code.
(Overrides ObjectGetHashCode.)
Public methodToString
Returns the current string value.
(Overrides ObjectToString.)
Top
Operators
Fields
  NameDescription
Public fieldStatic memberEmpty
The empty string.
Top
Extension Methods
  NameDescription
Public Extension MethodLaunchChar(FuncChar, IEnumerable)Overloaded. (Defined by TaskExt.)
Public Extension MethodLaunchByte(FuncByte, IEnumerable)Overloaded. (Defined by TaskExt.)
Public Extension MethodSequenceChar(FuncChar, IEnumerable)Overloaded. (Defined by TaskExt.)
Public Extension MethodSequenceByte(FuncByte, IEnumerable)Overloaded. (Defined by TaskExt.)
Top
Remarks
Like System.String except that it handles strings decoded from binary data. Handles the case where the binary data includes nulls and control characters.
See Also