public static ByteBuffer asByteBuffer(java.util.UUID uuid) {
        if (uuid == null) {
            return null;
        }

        return ByteBuffer.wrap(asByteArray(uuid));
    }
public static ByteBuffer asByteBuffer ( java . util . UUID uuid ) { if ( uuid == null ) { return null ; } return ByteBuffer . wrap ( asByteArray ( uuid ) ) ; }
Coverts a java.util.UUID into a ByteBuffer.

@param uuid
a java.util.UUID
@return a ByteBuffer representaion of the param UUID