View Javadoc

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  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      }
19  
20      public int size () {
21          return SIZE;
22      }
23  
24  }