fn bytesAsSlice(comptime T: type, bytes: anytype) BytesAsSliceReturnType(T, @TypeOf(bytes))
[src]
Given a slice of bytes, returns a slice of the specified type backed by those bytes, preserving pointer attributes.
fn bytesAsSlice(comptime T: type, bytes: anytype) BytesAsSliceReturnType(T, @TypeOf(bytes))
Given a slice of bytes, returns a slice of the specified type backed by those bytes, preserving pointer attributes.