you can also use a relative put method put(byte[] src, int offset, int length)