public static void writeUuid(ByteBuf buf,UUID uuid){
  buf.writeLong(uuid.getMostSignificantBits());
  buf.writeLong(uuid.getLeastSignificantBits());
}

public static void writeUuid ( ByteBuf buf , UUID uuid ) { buf . writeLong ( uuid . getMostSignificantBits ( ) ) ; buf . writeLong ( uuid . getLeastSignificantBits ( ) ) ; }
write a uuid encoded as two longs to the buffer .
