GH_LooseChunkSerialize_Binary Method |
Namespace: GH_IO.Serialization
public byte[] CreateBinary(string archive_name, string[] item_names, int[] item_values) { GH_LooseChunk chunk = new GH_LooseChunk(archive_name); for (int i = 0; i < item_names.Length; i++) { chunk.SetInt32(item_names[i], i, item_values[i]); } return chunk.Serialize_Binary(); }