String encode([Encoder? encoder]) { encoder = encoder ?? this.encoder; return encoder.encode(this as ByteList); }