pub fn from_bytes(value: &[u8], temporaries: &mut Temporaries) -> Value {
        match Value::try_from_bytes_inline(value) {
            Some(v) => v,
            None => {
                let cid = temporaries.push_bytes(Box::from(value));
                Value::from_const_bytes(cid)
            }
        }
    }
/// Construct a byte string value, spilling it to the temporary heap if it does not fit inline.
Construct a byte string value, spilling it to the temporary heap if it does not fit inline.
Construct a byte string value spilling it to the temporary heap if it does not fit inline .
pub fn from_bytes(value: &[u8], temporaries: &mut Temporaries) -> Value {
        match Value::try_from_bytes_inline(value) {
            Some(v) => v,
            None => {
                let cid = temporaries.push_bytes(Box::from(value));
                Value::from_const_bytes(cid)
            }
        }
    }
pub fn from_bytes ( value : & [ u8 ] , temporaries : & mut Temporaries ) -> Value { match Value :: try_from_bytes_inline ( value ) { Some ( v ) => v , None => { let cid = temporaries . push_bytes ( Box :: from ( value ) ) ; Value :: from_const_bytes ( cid ) } } }
Construct a byte string value, spilling it to the temporary heap if it does not fit inline.
Construct a byte string value spilling it to the temporary heap if it does not fit inline .
value
&[u8]
temporaries
&mut Temporaries
value
&[u8]
temporaries
&mut Temporaries