com.esri.arcgis.geometry
Interface IWkb

All Superinterfaces:
Serializable
All Known Implementing Classes:
IWkbProxy

public interface IWkb
extends Serializable

Reads/Writes the OGIS OLE/COM simple features Well Known Binary Format, v1.1, little-endian (NDR).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux


Method Summary
 void exportToWkb(int[] byteCountInOut, byte[] byteBuffer)
          Exports this object to a OGIS OLE/COM WKB binary buffer (v1.1, NDR).
 int getWkbSize()
          The number of bytes required to hold the exported version of this object.
 void importFromWkb(int[] byteCountInOut, byte[] byteBuffer)
          Imports this object from a OGIS OLE/COM WKB binary buffer (v1.1, NDR).
 

Method Detail

getWkbSize

int getWkbSize()
               throws IOException,
                      AutomationException
The number of bytes required to hold the exported version of this object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The cBytes
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportToWkb

void exportToWkb(int[] byteCountInOut,
                 byte[] byteBuffer)
                 throws IOException,
                        AutomationException
Exports this object to a OGIS OLE/COM WKB binary buffer (v1.1, NDR).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
byteCountInOut - The byteCountInOut (in/out: use single element array)
byteBuffer - An unsigned byte (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

importFromWkb

void importFromWkb(int[] byteCountInOut,
                   byte[] byteBuffer)
                   throws IOException,
                          AutomationException
Imports this object from a OGIS OLE/COM WKB binary buffer (v1.1, NDR).

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
byteCountInOut - The byteCountInOut (in/out: use single element array)
byteBuffer - An unsigned byte (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.