[erlang-questions] Binary prettyprinting
Tue Apr 7 13:43:23 CEST 2015
And what do you use to print them at the moment?
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions