BinaryImageBase Class

Defines a base class that represents binary images for parsing or generation in terms of a header, body and footer.

Definition

Namespace: Gemstone.IO.Parsing
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
[SerializableAttribute]
public abstract class BinaryImageBase : ISupportBinaryImage
Inheritance
Object    BinaryImageBase
Implements
ISupportBinaryImage

Constructors

BinaryImageBaseInitializes a new instance of the BinaryImageBase class

Properties

BinaryLength Gets the length of the BinaryImageBase object.
BodyLength Gets the length of the body portion of the BinaryImageBase object.
FooterLength Gets the length of the footer portion of the BinaryImageBase object.
HeaderLength Gets the length of the header portion of the BinaryImageBase object.

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)
GenerateBinaryImage Generates binary image of the object and copies it into the given buffer, for BinaryLength bytes.
GenerateBodyImage Generates the binary body image and copies it into the given buffer, for BodyLength bytes.
GenerateFooterImage Generates the binary footer image and copies it into the given buffer, for FooterLength bytes.
GenerateHeaderImage Generates the binary header image and copies it into the given buffer, for HeaderLength bytes.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ParseBinaryImage Initializes object by parsing the specified buffer containing a binary image.
ParseBodyImage Parses the binary body image.
ParseFooterImage Parses the binary footer image.
ParseHeaderImage Parses the binary header image.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

BinaryImage Returns a binary image of an object that implements ISupportBinaryImage.
(Defined by ISupportBinaryImageExtensions)
CopyBinaryImageToStream Copies binary image of object that implements ISupportBinaryImage to a Stream.
(Defined by ISupportBinaryImageExtensions)
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)
ParseBinaryImageFromStream Parses binary image of object that implements ISupportBinaryImage from a Stream.
(Defined by ISupportBinaryImageExtensions)

See Also