Is there a way to find the number of bytes in a string without converting
it into a byte array?
i.e. I don't like the following:
len(byte[]("str"))
-Kowshik
--
Tweet |
|
Jan Mercl | at Sep 14, 2012 at 7:18 pm | ⇧ | ![]() |
DisposaBoy | at Sep 14, 2012 at 7:21 pm | ⇧ | ![]() |
Patrick Mylund Nielsen | at Sep 14, 2012 at 7:23 pm | ⇧ | ![]() |
view | thread | post |
group | golang-nuts |
categories | go |
posted | Sep 14, '12 at 7:14p |
active | Sep 14, '12 at 7:23p |
posts | 5 |
users | 5 |
website | golang.org |
site design / logo © 2023 Grokbase