expr icon indicating copy to clipboard operation
expr copied to clipboard

Add `b''` form to represent bytes

Open p1g3 opened this issue 2 years ago • 1 comments

I noticed that cel-go supports the b'' format for representing bytes in expressions.

I noticed that cel-go supports the b'' format for representing bytes in expressions. Why doesn't expr support the b'' form for representing bytes? Is there an alternative way to represent bytes?

https://github.com/google/cel-spec/blob/master/doc/langdef.md#string-and-bytes-values

p1g3 avatar Oct 22 '23 11:10 p1g3

I can add such feature. Now just use strings for bytes.

antonmedv avatar Oct 22 '23 12:10 antonmedv