B strings and sum()

Howcome we cant see how the b string looks in numbers, all you see is b’example’. Is it an array of numbers? When you do sum(b string) it returns a value. but if you do sum(300) you get nothing.



b’example’ will return a list of the byte. So that when you use the sum function, it will sum all bytes value in that.

Read more from Sum definition