binary static method

Raw binary(
  1. Uint8List binary, {
  2. bool newline = PsdkConst.defEnableNewline,
})

Implementation

static Raw binary(
  Uint8List binary, {
  bool newline = PsdkConst.defEnableNewline,
}) {
  var raw = Raw();
  raw._mode = RawMode.binary;
  raw._binary = binary;
  raw._newline = newline;
  return raw;
}