sse_encode_bool method

  1. @protected
void sse_encode_bool(
  1. bool self,
  2. SseSerializer serializer
)
override

Implementation

@protected
void sse_encode_bool(bool self, SseSerializer serializer) {
  // Codec=Sse (Serialization based), see doc to use other codecs
  serializer.buffer.putUint8(self ? 1 : 0);
}