Gemstone Common Library
Show/Hide TOC

# ISupportBinaryImage Interface

Specifies that an object can support production or consumption of a binary image that represents the object.

## Definition

Namespace: Gemstone.IO.Parsing
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.178 -- Release Build+f8a23028fef00502c7e35bcc3934c260e8a0eb56
C#
View Source Request Example

    public interface ISupportBinaryImage

VB
View Source Request Example

    Public Interface ISupportBinaryImage

C++
View Source Request Example

    public interface class ISupportBinaryImage

JavaScript
View Source Request Example

    Gemstone.IO.Parsing.ISupportBinaryImage = function();
    Gemstone.IO.Parsing.ISupportBinaryImage.createInterface('Gemstone.IO.Parsing.ISupportBinaryImage');

## Properties

BinaryLength | Gets the length of the binary image.

## Methods

GenerateBinaryImage | Generates binary image of the object and copies it into the given buffer, for BinaryLength bytes.
ParseBinaryImage | Initializes object by parsing the specified buffer containing a binary image.

## Extension Methods

BinaryImage | Returns a binary image of an object that implements ISupportBinaryImage. (Defined by ISupportBinaryImageExtensions)
BinaryImageAsync | Asynchronously returns a binary image of an object that implements ISupportBinaryImage. (Defined by ISupportBinaryImageExtensions)
CopyBinaryImageToStream | Copies the binary image of the specified ISupportBinaryImage to the provided Stream. (Defined by ISupportBinaryImageExtensions)
CopyBinaryImageToStreamAsync | Asynchronously copies the binary image of an object that implements ISupportBinaryImage to the specified Stream. (Defined by ISupportBinaryImageExtensions)
ParseBinaryImageFromStream | Parses a binary image from the specified Stream into an object that implements ISupportBinaryImage. (Defined by ISupportBinaryImageExtensions)
ParseBinaryImageFromStreamAsync | Asynchronously parses a binary image from the specified Stream into an object that implements ISupportBinaryImage. (Defined by ISupportBinaryImageExtensions)

## See Also

#### Reference

Gemstone.IO.Parsing Namespace