pub unsafe fn store(this: *mut HOBinary, data: &[u8]) {
    let data_len = data.len();
    if data_len == 0 {
      return
    }

    assert!(data_len <= (*this).n_bytes,
            "The data ({} b) won't fit into binary (size {} b)",
            data_len, (*this).n_bytes);

    // Take next word after the record end, that'll be first data word.
    let bin_bytes = this.offset(1) as *mut u8;
    ptr::copy_nonoverlapping(&data[0], bin_bytes, data_len);
  }
/// Given a byte array, copy it to the binary's memory (depending on
/// the binary type).
Given a byte array, copy it to the binary's memory (depending on
the binary type).
Given a byte array copy it to the binary ' s memory ( depending on the binary type ) .
pub unsafe fn store(this: *mut HOBinary, data: &[u8]) {
    let data_len = data.len();
    if data_len == 0 {
      return
    }
    assert!(data_len <= (*this).n_bytes,
            "The data ({} b) won't fit into binary (size {} b)",
            data_len, (*this).n_bytes);
    // Take next word after the record end, that'll be first data word.
    let bin_bytes = this.offset(1) as *mut u8;
    ptr::copy_nonoverlapping(&data[0], bin_bytes, data_len);
  }
pub unsafe fn store ( this : * mut HOBinary , data : & [ u8 ] ) { let data_len = data . len ( ) ; if data_len == 0 { return } assert ! ( data_len ( this ) n_bytes " " data_len ( this ) n_bytes ) ; // Take next word after the record end, that'll be first data word. let bin_bytes = this . offset ( 1 ) as * mut u8 ; ptr :: copy_nonoverlapping ( & data [ 0 ] , bin_bytes , data_len ) ; }
Given a byte array, copy it to the binary's memory (depending on
the binary type).
Given a byte array copy it to the binary ' s memory ( depending on the binary type ) .
this
*mut HOBinary
data
&[u8]