fn asBytes(ptr: anytype) AsBytesReturnType(@TypeOf(ptr))
[src]
Given a pointer to a single item, returns a slice of the underlying bytes, preserving pointer attributes.
fn asBytes(ptr: anytype) AsBytesReturnType(@TypeOf(ptr))
Given a pointer to a single item, returns a slice of the underlying bytes, preserving pointer attributes.