Click or drag to resize

BinaryImageBase Class

Defines a base class that represents binary images for parsing or generation in terms of a header, body and footer.
Inheritance Hierarchy
SystemObject
  GSF.ParsingBinaryImageBase
    GSF.PhasorProtocolsChannelBase

Namespace: GSF.Parsing
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
[SerializableAttribute]
public abstract class BinaryImageBase : ISupportBinaryImage
View Source

The BinaryImageBase type exposes the following members.

Constructors
 NameDescription
Protected methodBinaryImageBaseInitializes a new instance of the BinaryImageBase class
Top
Properties
 NameDescription
Public propertyBinaryLength Gets the length of the BinaryImageBase object.
Protected propertyBodyLength Gets the length of the body portion of the BinaryImageBase object.
Protected propertyFooterLength Gets the length of the footer portion of the BinaryImageBase object.
Protected propertyHeaderLength Gets the length of the header portion of the BinaryImageBase object.
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 methodGenerateBinaryImage Generates binary image of the object and copies it into the given buffer, for BinaryLength bytes.
Protected methodGenerateBodyImage Generates the binary body image and copies it into the given buffer, for BodyLength bytes.
Protected methodGenerateFooterImage Generates the binary footer image and copies it into the given buffer, for FooterLength bytes.
Protected methodGenerateHeaderImage Generates the binary header image and copies it into the given buffer, for HeaderLength bytes.
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 methodParseBinaryImage Initializes object by parsing the specified buffer containing a binary image.
Protected methodParseBodyImage Parses the binary body image.
Protected methodParseFooterImage Parses the binary footer image.
Protected methodParseHeaderImage Parses the binary header image.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodBinaryImage Returns a binary image of an object that implements ISupportBinaryImage.
(Defined by ISupportBinaryImageExtensions)
Public Extension MethodCopyBinaryImageToStream Copies binary image of object that implements ISupportBinaryImage to a Stream.
(Defined by ISupportBinaryImageExtensions)
Public Extension MethodCopyImage This is a common optimized block copy function for any kind of data.
(Defined by Common)
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)
Public Extension MethodParseBinaryImageFromStream Parses binary image of object that implements ISupportBinaryImage from a Stream.
(Defined by ISupportBinaryImageExtensions)
Top
See Also