encodeBuffer method

Iterable<int> encodeBuffer(
  1. ByteBuffer input
)

Encodes an input buffer using this codec

Implementation

@pragma('vm:prefer-inline')
Iterable<int> encodeBuffer(ByteBuffer input) => encode(input.asUint8List());