edsrzf/tnetstring-go — pull request #3 by jtacoma (2012-11-26 01:08:43+00:00)
Title: Return remaining text from Unmarshal().

When a TNetstring is followed by other data (e.g. other TNetstrings) it's useful to know what that other data is. An additional method could be added, but the current minimal Marshal/Unmarshal is nice and clean. This is a minimal change to make that trailing data easily available.

I found this necessary when parsing Mongrel2 messages. Unfortuantely, it is a backwards-incompatible change.