New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
binary.Write doesn't support slices #478
Labels
Comments
Owner changed to r...@golang.org. Status changed to Accepted. |
Patch out: http://golang.org/cl/183091/ |
Binary is intended for fixed-size structures with obvious encodings. Strings are not fixed size and do not have an obvious encoding (NUL-terminated? size + data?). Again, I would be interested in proposals to use interfaces to make binary handle user-specified encodings. That's a much more scalable way for it to grow than just tossing feature upon feature into the core. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: