private ByteBuffer wrap(GSByteArrayOutputStream bos){
  ByteBuffer byteBuffer=ByteBuffer.wrap(bos.getBuffer());
  byteBuffer.order(ByteOrder.BIG_ENDIAN);
  return byteBuffer;
}

private ByteBuffer wrap ( GSByteArrayOutputStream bos ) { ByteBuffer byteBuffer = ByteBuffer . wrap ( bos . getBuffer ( ) ) ; byteBuffer . order ( ByteOrder . BIG_ENDIAN ) ; return byteBuffer ; }
wraps a gsbytearrayoutputstream inner buffer with a bytebuffer
