public RecordData(RecordDataState initialState, RecordKey key) { this.key = key; this.state = initialState; this.data = new byte[0]; }