public static Int64[] ReadInt64Array(this ObjectReader reader) { var length = reader.ReadInt32(); Int64[] value = new Int64[length]; for (int i = 0; i < length; i++) { value[i] = reader.ReadInt64(); } return(value); }