| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| EightByteInformation |
|
| 1.0;1 |
| 1 | package org.jscsi.target.scsi.sense.information; | |
| 2 | ||
| 3 | ||
| 4 | import java.nio.ByteBuffer; | |
| 5 | ||
| 6 | ||
| 7 | /** | |
| 8 | * {@link Information} with a field length of 8 bytes. | |
| 9 | * | |
| 10 | * @author Andreas Ergenzinger | |
| 11 | */ | |
| 12 | 0 | public class EightByteInformation extends Information { |
| 13 | ||
| 14 | private static final int SIZE = 8; | |
| 15 | ||
| 16 | public void serialize (ByteBuffer byteBuffer, int index) { | |
| 17 | // do nothing | |
| 18 | 0 | } |
| 19 | ||
| 20 | public int size () { | |
| 21 | 0 | return SIZE; |
| 22 | } | |
| 23 | ||
| 24 | } |