Updated ByteBuffer to no longer use streams

Modified ByteBuffer to use raw buffer directly instead of via streams.
Updated copyright info.