Click or drag to resize

ByteEncoding Class

Defines a set of methods used to convert byte buffers to and from user presentable data formats.
Inheritance Hierarchy
SystemObject
  GSFByteEncoding
    More

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public abstract class ByteEncoding
View Source

The ByteEncoding type exposes the following members.

Constructors
 NameDescription
Protected methodByteEncodingInitializes a new instance of the ByteEncoding class
Top
Properties
 NameDescription
Public propertyStatic memberASCIIHandles encoding and decoding of a byte buffer into an ASCII character presentation format.
Public propertyStatic memberBase64Handles encoding and decoding of a byte buffer into a base64 presentation format.
Public propertyStatic memberBigEndianBinaryHandles encoding and decoding of a byte buffer into a big-endian binary (i.e., 0 and 1's) based presentation format.
Public propertyStatic memberDecimalHandles encoding and decoding of a byte buffer into an integer-based presentation format.
Public propertyStatic memberHexadecimalHandles encoding and decoding of a byte buffer into a hexadecimal-based presentation format.
Public propertyStatic memberLittleEndianBinaryHandles encoding and decoding of a byte buffer into a little-endian binary (i.e., 0 and 1's) based presentation format.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetBytes(String)Decodes given string back into a byte buffer.
Public methodGetBytes(String, Char)Decodes given string back into a byte buffer.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetString(Byte)Encodes given buffer into a user presentable representation.
Public methodGetString(Byte, Char)Encodes given buffer into a user presentable representation.
Public methodGetString(Byte, Int32, Int32)Encodes given buffer into a user presentable representation.
Public methodGetString(Byte, Int32, Int32, Char)Encodes given buffer into a user presentable representation.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberNoSpacing Constant used to specify that "no spacing" should be used for data conversion.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also

Reference

GSF Namespace
Inheritance Hierarchy