Function miri::interpret::get_slice_bytes
source · pub fn get_slice_bytes<'tcx>(
cx: &impl HasDataLayout,
val: ConstValue<'tcx>
) -> &'tcx [u8] ⓘ
Expand description
Gets the bytes of a constant slice value.
pub fn get_slice_bytes<'tcx>(
cx: &impl HasDataLayout,
val: ConstValue<'tcx>
) -> &'tcx [u8] ⓘ
Gets the bytes of a constant slice value.