ByteEncoding Class

Defines a set of methods used to convert byte buffers to and from user presentable data formats.

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public abstract class ByteEncoding
Inheritance
Object    ByteEncoding
Derived

Constructors

ByteEncodingInitializes a new instance of the ByteEncoding class

Properties

ASCIIHandles encoding and decoding of a byte buffer into an ASCII character presentation format.
Base64Handles encoding and decoding of a byte buffer into a base64 presentation format.
BigEndianBinary Handles encoding and decoding of a byte buffer into a big-endian binary (i.e., 0 and 1's) based presentation format.
DecimalHandles encoding and decoding of a byte buffer into an integer-based presentation format.
HexadecimalHandles encoding and decoding of a byte buffer into a hexadecimal-based presentation format.
LittleEndianBinary Handles encoding and decoding of a byte buffer into a little-endian binary (i.e., 0 and 1's) based presentation format.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetBytes(String)Decodes given string back into a byte buffer.
GetBytes(String, Char)Decodes given string back into a byte buffer.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetString(Byte)Encodes given buffer into a user presentable representation.
GetString(Byte, Char)Encodes given buffer into a user presentable representation.
GetString(Byte, Int32, Int32)Encodes given buffer into a user presentable representation.
GetString(Byte, Int32, Int32, Char)Encodes given buffer into a user presentable representation.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

NoSpacing Constant used to specify that "no spacing" should be used for data conversion.

Extension Methods

GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)

See Also