encode method

List<int> encode()

Implementation

List<int> encode() {
  return content != null ? encoding.encode(content!) : [];
}