## Reading .NET BinaryWriter serialized strings from Go

I recently had the need (for a side project) to be able to read a file written from a .NET application using the BinaryWriter class from an application written using Go. The MSDN documentation was somewhat vague on the format in which strings were written, but it turns out to be a LEB128 encoded length prefix and then the UTF8 bytes which make up the string.