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