Have you seen this page
http://code.google.com/p/go-wiki/wiki/SliceTricks ? It should be
simple, and lighter weight to use a []byte rather than re implementing
Java's ByteBuffer class.
On Sat, Feb 16, 2013 at 5:50 PM, <
robby.j...@gmail.com> wrote:
> Hi all,
>
> I'm in the middle of porting an old Java application that makes an extensive
> amount of use with it's ByteBuffer class. (namely get/put Int/Float/Short).
>
> Is there a package within Go's ecosystem that I can use to port this
> against, or would it be better to wrap ByteBuffer and re-implement each of
> those methods?
>
> Sorry if this seems basic, but if it's buried in a package, I couldn't find
> it.
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
golang-nuts...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>