BarcodeWriterContent extension
writer.encodeContent(content): encodes a BarcodeContent the way its
kind needs. Lives in the content layer, so the core writer does not
depend on it.
Methods
-
encodeContent(
BarcodeContent content) → Future< BarcodeSymbol> -
Available on BarcodeWriter, provided by the BarcodeWriterContent extension
Encodescontent: BinaryContent as bytes, Gs1Content as GS1 (whatever BarcodeWriter.gs1 says), everything else as the text of BarcodeContent.toPayload.