final void serializeBasicHeaderSegment ( final ByteBuffer dst , final int offset ) throws InternetSCSIException { dst . position ( offset ) ; dst . putInt ( offset , dst . getInt ( ) | serializeBytes1to3 ( ) ) ; dst . position ( offset + BasicHeaderSegment . BYTES_8_11 ) ; dst . putInt ( serializeBytes8to11 ( ) ) ; dst . putInt ( serializeBytes12to15 ( ) ) ; dst . position ( offset + BasicHeaderSegment . BYTES_20_23 ) ; dst . putInt ( serializeBytes20to23 ( ) ) ; dst . putInt ( serializeBytes24to27 ( ) ) ; dst . putInt ( serializeBytes28to31 ( ) ) ; dst . putInt ( serializeBytes32to35 ( ) ) ; dst . putInt ( serializeBytes36to39 ( ) ) ; dst . putInt ( serializeBytes40to43 ( ) ) ; dst . putInt ( serializeBytes44to47 ( ) ) ; }
This method serializes the whole BHS to its byte representation .