public static string ParseString(ByteStream stream) { byte[] len = stream.ReadBytes(4); return stream.Read(ConvertToInt(len)); }