S2Loop.encode

Appends a serialized representation of the S2Loop to "encoder".

Generally clients should not use S2Loop::Encode(). Instead they should encode an S2Polygon, which unlike this method supports (lossless) compression.

REQUIRES: "encoder" uses the default constructor, so that its buffer can be enlarged as necessary by calling Ensure(int).

class S2Loop
const
void
encode
(
ORangeT
)
()

Meta