guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pretty print bytevectors with its content in hex format


From: Zhu Zihao
Subject: Pretty print bytevectors with its content in hex format
Date: Fri, 30 Sep 2022 16:41:56 +0800
User-agent: mu4e 1.8.9; emacs 29.0.50

Hi, dear Guile users!

I'm using Guile to play around with some binaries. In Guile, the
bytevector prints its content in decimal format. Just like:

#vu8(255 255 255 255)

But, it's always more convenient if its content is printed in hex format
like

#vu8(#xff #xff #xff #xff)

I don't see any option to toggle this, What should I do to custom how
bytevector looks?

Thanks!
-- 
Retrieve my PGP public key:

  gpg --recv-keys B3EBC086AB0EBC0F45E0B4D433DB374BCEE4D9DC

Zihao

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]