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: 11.0.0.7658
Syntax
C#
[TypeConverterAttribute(typeof(BinaryStringBinaryStringConverter))]
public sealed class BinaryString : INotifyPropertyChanged, 
	IEnumerable, IComparable<BinaryString>, IComparable<string>, 
	IComparable, IEquatable<BinaryString>, IEquatable<string>, 
	IConvertible, ICloneable

The BinaryString type exposes the following members.

Constructors
  NameDescription
Public methodBinaryString
Creates the empty string.
Public methodBinaryString(String)
Creates a BinaryString with just its string representation.
Public methodBinaryString(String, BinaryTextEncoding)
Creates a BinaryString with the string and encoding.
Public methodBinaryString(Buffer, BinaryTextEncoding)
Creates a BinaryString with the data bytes and encoding.
Public methodBinaryString(String, Buffer, BinaryTextEncoding)
Creates a new BinaryString.
Top
Properties
  NameDescription
Public propertyBytes
The encoded byte array (includes any header data, etc).
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(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 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 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 methodEquals(BinaryString)
Indicates whether the current BinaryString is equal to another string.
Public methodGetHashCode
The default hash code.
(Overrides ObjectGetHashCode.)
Public methodSet
Sets the value of the BinaryString.
Public methodToString
Returns the current string value.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
Top
Operators
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