Function toSlice [src]

Result is byte values, not hex-encoded.

Prototype

pub fn toSlice(hs: *const HexString) []const u8

Parameters

hs: *const HexString

Source

pub fn toSlice(hs: *const HexString) []const u8 { return hs.bytes[0..hs.len]; }