Click or drag to resize

LittleBinaryValue Class

Represents a little-endian ordered binary data sample stored as a byte array, but implicitly castable to most common native types.
Inheritance Hierarchy
SystemObject
  GSFBinaryValueBaseLittleEndianOrder
    GSFLittleBinaryValue

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public class LittleBinaryValue : BinaryValueBase<LittleEndianOrder>
View Source

The LittleBinaryValue type exposes the following members.

Constructors
 NameDescription
Public methodLittleBinaryValue(Byte)Creates a new little-endian ordered binary value from the given byte array.
Public methodLittleBinaryValue(TypeCode, Byte)Creates a new little-endian ordered binary value from the given byte array.
Public methodLittleBinaryValue(Byte, Int32, Int32)Creates a new little-endian ordered binary value from the given byte array.
Public methodLittleBinaryValue(TypeCode, Byte, Int32, Int32)Creates a new little-endian ordered binary value from the given byte array.
Top
Properties
 NameDescription
Public propertyBuffer Gets or sets the binary representation of this data sample.
(Inherited from BinaryValueBaseTEndianOrder)
Public propertyTypeCode Gets or sets TypeCode that this binary data sample represents.
(Inherited from BinaryValueBaseTEndianOrder)
Top
Methods
 NameDescription
Public methodConvertToType Returns a LittleBinaryValue representation of source value converted to specified TypeCode.
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 methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToByte Returns a byte from the Buffer.
(Inherited from BinaryValueBaseTEndianOrder)
Public methodToDouble Returns a double-precision floating point number, accounting for EndianOrder, converted from the Buffer.
(Inherited from BinaryValueBaseTEndianOrder)
Public methodToInt16 Returns a 16-bit signed integer, accounting for EndianOrder, converted from the Buffer.
(Inherited from BinaryValueBaseTEndianOrder)
Public methodToInt24 Returns a 24-bit signed integer, accounting for EndianOrder, converted from the Buffer.
(Inherited from BinaryValueBaseTEndianOrder)
Public methodToInt32 Returns a 32-bit signed integer, accounting for EndianOrder, converted from the Buffer.
(Inherited from BinaryValueBaseTEndianOrder)
Public methodToInt64 Returns a 64-bit signed integer, accounting for EndianOrder, converted from the Buffer.
(Inherited from BinaryValueBaseTEndianOrder)
Public methodToSingle Returns a single-precision floating point number, accounting for EndianOrder, converted from the Buffer.
(Inherited from BinaryValueBaseTEndianOrder)
Public methodToString Returns a String that represents the current LittleBinaryValue.
(Overrides ObjectToString)
Public methodToUInt16 Returns a 16-bit unsigned integer, accounting for EndianOrder, converted from the Buffer.
(Inherited from BinaryValueBaseTEndianOrder)
Public methodToUInt24 Returns a 24-bit unsigned integer, accounting for EndianOrder, converted from the Buffer.
(Inherited from BinaryValueBaseTEndianOrder)
Public methodToUInt32 Returns a 32-bit unsigned integer, accounting for EndianOrder, converted from the Buffer.
(Inherited from BinaryValueBaseTEndianOrder)
Public methodToUInt64 Returns a 64-bit unsigned integer, accounting for EndianOrder, converted from the Buffer.
(Inherited from BinaryValueBaseTEndianOrder)
Top
Operators
 NameDescription
Public operatorStatic member(Byte to LittleBinaryValue) Implicitly converts Byte to LittleBinaryValue.
Public operatorStatic member(Double to LittleBinaryValue) Implicitly converts Double to LittleBinaryValue.
Public operatorStatic member(Int16 to LittleBinaryValue) Implicitly converts Int16 to LittleBinaryValue.
Public operatorStatic member(Int24 to LittleBinaryValue) Implicitly converts Int24 to LittleBinaryValue.
Public operatorStatic member(Int32 to LittleBinaryValue) Implicitly converts Int32 to LittleBinaryValue.
Public operatorStatic member(Int64 to LittleBinaryValue) Implicitly converts Int64 to LittleBinaryValue.
Public operatorStatic member(LittleBinaryValue to Int24) Implicitly converts LittleBinaryValue to Int24.
Public operatorStatic member(LittleBinaryValue to UInt24) Implicitly converts LittleBinaryValue to UInt24.
Public operatorStatic member(LittleBinaryValue to Byte) Implicitly converts LittleBinaryValue to Byte.
Public operatorStatic member(LittleBinaryValue to Double) Implicitly converts LittleBinaryValue to Double.
Public operatorStatic member(LittleBinaryValue to Int16) Implicitly converts LittleBinaryValue to Int16.
Public operatorStatic member(LittleBinaryValue to Int32) Implicitly converts LittleBinaryValue to Int32.
Public operatorStatic member(LittleBinaryValue to Int64) Implicitly converts LittleBinaryValue to Int64.
Public operatorStatic member(LittleBinaryValue to Single) Implicitly converts LittleBinaryValue to Single.
Public operatorStatic member(LittleBinaryValue to UInt16) Implicitly converts LittleBinaryValue to UInt16.
Public operatorStatic member(LittleBinaryValue to UInt32) Implicitly converts LittleBinaryValue to UInt32.
Public operatorStatic member(LittleBinaryValue to UInt64) Implicitly converts LittleBinaryValue to UInt64.
Public operatorStatic member(Single to LittleBinaryValue) Implicitly converts Single to LittleBinaryValue.
Public operatorStatic member(UInt16 to LittleBinaryValue) Implicitly converts UInt16 to LittleBinaryValue.
Public operatorStatic member(UInt24 to LittleBinaryValue) Implicitly converts UInt24 to LittleBinaryValue.
Public operatorStatic member(UInt32 to LittleBinaryValue) Implicitly converts UInt32 to LittleBinaryValue.
Public operatorStatic member(UInt64 to LittleBinaryValue) Implicitly converts UInt64 to LittleBinaryValue.
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