PointProtobuf extension

Extension to add Protocol Buffer support to Point

on

Properties

protoFields List<ProtoField>

Available on Point, provided by the PointProtobuf extension

Get field descriptors for the Point struct.
no setter

Methods

calculateSize() int

Available on Point, provided by the PointProtobuf extension

Calculate size needed for serialization.
deserializeFromProto(ByteBuffer buffer) → void

Available on Point, provided by the PointProtobuf extension

Deserialize the Point from Protocol Buffer format.
serializeToProto() ByteBuffer

Available on Point, provided by the PointProtobuf extension

Serialize the Point to Protocol Buffer format.

Constants

xField → const ProtoField
Field descriptor for the x-coordinate.
yField → const ProtoField
Field descriptor for the y-coordinate.