var s = Convert.ToHexString(a);
Int32 s = BitConverter.ToInt32(sampleBuffer, 0);
s = s.Replace("-", string.Empty);
var s = a.buffer
.asUint8List()
.map((e) => e.toRadixString(16).padLeft(2, '0'))
.join();
hexChar(Num) when Num < 10 andalso Num >= 0->
$0 + Num;
hexChar(Num) when Num < 16 ->
$a + Num - 10.
toHex([Byte | Rest]) ->
[hexChar(Byte div 16), hexChar(Byte rem 16)] ++ toHex(Rest);
toHex([]) -> [].
character(len=:), allocatable :: s
allocate (character(len=2*size(a)) :: s)
write(unit=s,fmt='(*(Z2.2))') a
s := fmt.Sprintf("%x", a)
s := hex.EncodeToString(a)
def s = a.encodeHex().toString()
const s = Buffer.from(a).toString('hex')
const s = a.map(n => n.toString(16).padStart(2, '0')).join('')
String s = "";
for(byte value : a) {
s += String.format("%02x", value);
}
(lambda (bytes &aux (size (* 2 (length bytes))))
(let ((hex (make-array size :element-type 'character :fill-pointer 0)))
(prog1 hex
(with-output-to-string (o hex)
(map () (lambda (byte) (format o "~2,'0x" byte)) bytes)))))
s := '';
for b in a do s := s + IntToHex(b,2);
$s = unpack('H*', pack('c*', @a));
s = a.pack("c*").unpack("H*").first
let s = a.encode_hex::<String>();
let s = HEXLOWER.encode(&a);
let mut s = String::with_capacity(2 * n);
for byte in a {
write!(s, "{:02X}", byte)?;
}