will be helpful for those in need Yes, for plugins you need a id range if you wish to share them. Its not really easy tough. Maya has a really deep hardcore philosophy, if you try to use Maya the wrong way it will totally freak at you. After that point everything you do will be a serious uphill battle.
Is it possible that in Java 7 (byte) ((char) ByteBuffer.get(X)) != ByteBuffer.get(X)?
This might help you As you are doing file I/O, you should bear in mind that the I/O operations are likely to be very much slower than any work done by the CPU in your output code. To a first approximation, the cost of I/O is an amount proportional to the amount of data you are writing, plus a fixed cost for each operating system call made to do the I/O. So in your case you want to minimise the number of operating system calls to do the writing. This is done by buffering data in the application, so the application performs few put larger operating system calls.
OutputStream bo = new BufferedOutputStream(new FileOutputStream(checking));