assertEquals( "ONTENT\n?", new String( buffer.array() ) );
assertEquals( 9L, sbc.position() );
sbc.position( 0L );
sbc.truncate( 2L );
ByteBuffer buffer3 = ByteBuffer.allocate( 2 );
sbc.read( buffer3 );
assertEquals( "CO", new String( buffer3.array() ) );
sbc.close();