public static int putByte(byte[] bytes, int offset, byte b) {
        bytes[offset] = b;
        return offset + 1;
    }
Write a single byte out to the specified byte array position.

@param bytes  the byte array
@param offset position in the array
@param b      byte to write out
@return incremented offset
stroom-bytebuffer/src/main/java/stroom/bytebuffer/hbase/Bytes.java