34bool CBC_Code128::
Encode(WideStringView contents) {
35 auto* pWriter = GetOnedCode128Writer();
39 WideString content(contents);
43 m_renderContents = pWriter->FilterContents(content.AsStringView());
44 ByteString byteString = m_renderContents.ToUTF8();
45 return pWriter->RenderResult(m_renderContents.AsStringView(),
46 pWriter->Encode(byteString));