Package: ByteArrayTask

ByteArrayTask

nameinstructionbranchcomplexitylinemethod
ByteArrayTask(ChannelRecord, int, int, Mode)
M: 0 C: 12
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2017, 2018 Eurotech and/or its affiliates and others
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License v1.0
6: * which accompanies this distribution, and is available at
7: * http://www.eclipse.org/legal/epl-v10.html
8: *
9: * Contributors:
10: * Eurotech
11: *******************************************************************************/
12:
13: package org.eclipse.kura.driver.block.task;
14:
15: import org.eclipse.kura.channel.ChannelRecord;
16: import org.eclipse.kura.driver.binary.ByteArray;
17:
18: public class ByteArrayTask extends BinaryDataTask<byte[]> {
19:
20: public ByteArrayTask(ChannelRecord record, int start, int end, Mode mode) {
21: super(record, start, new ByteArray(end - start), mode);
22: }
23: }