this.len = len;
}
final public void write (Output output, Object object) {
if (output instanceof UnsafeOutput) {
UnsafeOutput unsafeOutput = (UnsafeOutput)output;
unsafeOutput.writeBytes(object, offset, len);
} else if (output instanceof UnsafeMemoryOutput) {
UnsafeMemoryOutput unsafeOutput = (UnsafeMemoryOutput)output;
unsafeOutput.writeBytes(object, offset, len);
} else {
long off;
Unsafe unsafe = unsafe();
for (off = offset; off < offset + len - 8; off += 8) {
output.writeLong(unsafe.getLong(object, off));