Function S2Cap.encode

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

void encode(ORangeT) (
  Encoder!ORangeT encoder
) const;

REQUIRES

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