Goods.RawBinaryFactory.pack Function
Pack raw binary object to byte array

Public int pack (object, byte[], int)
  Type Name Description  
    object obj raw binary object  
    byte arr array to store packed image of raw binary object  
    int off offset in the array where object should be packed  
  Return Description  
    int numbumer of bytes in packed object image. It should be the same as returned by RawBinary.size method.