blob: 9241aa821c47a2c27d98866b21080ee9f8906c50 [file] [log] [blame]
{{#if (isHexString value)}}
chip::ByteSpan(chip::Uint8::from_const_char("{{octetStringFromHexString value}}{{extraGarbage}}"), {{octetStringLengthFromHexString value}})
{{else}}
chip::ByteSpan(chip::Uint8::from_const_char("{{octetStringEscapedForCLiteral value}}{{extraGarbage}}"), {{value.length}})
{{/if}}