Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return an error if the buffer is too large.
So far, we would case a uint64 to a int32 but that may result in an integer overflow. At this point, GoBytes does not seem to support buffers this large, so the next best thing to do is return an error if the given buffer is too large.
- Loading branch information