Hello,

I'm newbie with Protobuf and I need your help please.

I have a protobuf binary files (.bin) which are received with Apache throw 
a curl command. I tried to decode one of these files using this command:
*protoc --decode_raw < 2.bin *

 I got this;

1: "deployment123"
2: "environnement123"
3: "host.palantir.local"
4 {
  2 {
    1: 
"\037\213\010\000\323\207\013b\000\003\355U_\253\3230\024\337\363\336}\017}\336\272$M\323V\270\340\203\202\212x/\\\274
 
\010\2226\307.\330&\245\315\306\306e 
~\010?\242_\300/\340i\2739\246\350\213\023\021\367{\350I\177\347\320\363\'\371\245\260QuSA\267\270Q\233\247\2404\264\213\312\225<\304\307\344\\\240\224J!\310$\031p\264t\017F9a\202S\236P\306#A(gT\306\023\2629[\005\277\300\252\363\252\305R\332\302u\036~\036\367\372\372\371\365\2237\217]\255\214%\257:h\273S\377\330\n\371f\377\021\260\224\224F_\261\210\245\"NS\231L\221Y\365\014My\304\251\020t\032QR{S\303\025\303m\3148\213)\r\023&Y\026\307Y2\375\333\035\\\360;\200\203\376\317\256\372#\016\372\377\200\353G\037?\247\275}\371\351\301\227\203\376\2238\371N\377h\305\204\320?P\313\017\370\317\365\177\037\370m\003\301C\022\200]C\345\032\010Y0\013\2268\214\201\034\217G\330\277[U\003\236\220BU\030\240\241\251\334\266\006;\204\251n\211\034~\301\264\316\036Hc=\224\255\362\306YtZ\247\341\231\356yN\263\224\t\374\003
 
\213s\\\233b\310_(\250V\265\356I\257\212\367=\365V+\250\235\355\220kZ\247W\205?\r\334\223w\270\031}\022\364E!\017\351\274-\004zo\324\266r\252Oy\037\334\216y^\270\362\216\r\304\241\353}\001C\323\025\340\004\220\024\263\240\277\356\206\270\016\ngu\207k\274\366\244\2204\221\022\233Q\326\365\\\234E\202\362H\312\335,p\255)\315PDi\374r\225\207\215\252\224\365\246\r\363\225\251\364b\234\230\312Me\374vQ\272\261\215\305\261\233\032\272N\225CU\267x&\275\261%\361\216\250\266X\2325\220w\006e\032\206a\260\333\235\214z\034j\236\025\261`Y2\247:\223s\241\323|\236gy1\027\211Ne\244%\240\006\203\335\345\262\276\340\202\013\216\370\n\327\246\005\343\000\014\000\000"
    2: 1
  }
}
5: "envId123"

So the file has been successfully decoded except the gzip part. I tried 
many times to decompress it but it didn't work.

My question is there any other way to decode .bin the file including the 
gzip field please?

Thank you in advance.

Best regards, 
Manel




-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/63fdf439-2c3c-4f57-8666-70098c321620n%40googlegroups.com.

Reply via email to