[erlang-questions] Binary prettyprinting

Rad Gruchalski radek@REDACTED
Tue Apr 7 13:43:23 CEST 2015

And what do you use to print them at the moment?

Kind regards,

Radek Gruchalski

radek@REDACTED (mailto:radek@REDACTED)
de.linkedin.com/in/radgruchalski/ (http://de.linkedin.com/in/radgruchalski/)

This communication is intended for the above-named person and may be confidential and/or legally privileged.
If it has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender immediately.

On Tuesday, 7 April 2015 at 12:43, Vladimir Gordeev wrote:

> Is there is a hack that globally makes format binaries differently?
> Sometimes while debugging I do print some data. Sometimes this data is compound and two-three levels down there is a long binary value.
> I want to see <<39,122,6,247,77,47,80,222,192,57,233,137,230, ... 1500 bytes total>> instead of actual 1,5 Kb data in text.
> Of course I can write such formatting function, but I have to use it explicitly each time (god, my three-level compound data).
>  I want this only on my local machine, so any hacks welcome. Any ideas?
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED (mailto:erlang-questions@REDACTED)
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150407/473329f0/attachment.htm>

More information about the erlang-questions mailing list