DatabaseClusterUnit(ByteBuffer bb) throws IOException {
  this.type=bb.getInt();
  this.phone=bb.getInt();
  this.start=bb.getInt();
  this.end=bb.getInt();
  this.prev=bb.getInt();
  this.next=bb.getInt();
}

DatabaseClusterUnit ( ByteBuffer bb ) throws IOException { this . type = bb . getInt ( ) ; this . phone = bb . getInt ( ) ; this . start = bb . getInt ( ) ; this . end = bb . getInt ( ) ; this . prev = bb . getInt ( ) ; this . next = bb . getInt ( ) ; }
creates a unit by reading it from the given byte buffer .
