protected AbstractMemory slice(Ruby runtime, long offset) { return new Buffer(runtime, getMetaClass(), getMemoryIO().slice(offset), this.size - offset, this.typeSize, this.inout); }
protected AbstractMemory slice(Ruby runtime, long offset, long size) { return new Buffer(runtime, getMetaClass(), getMemoryIO().slice(offset, size), size, this.typeSize, this.inout); }
protected AbstractMemory slice(Ruby runtime, long offset) { return new Buffer(runtime, getMetaClass(), getMemoryIO().slice(offset), this.size - offset, this.typeSize, this.inout); }
protected AbstractMemory slice(Ruby runtime, long offset) { return new Buffer(runtime, getMetaClass(), getMemoryIO().slice(offset), this.size - offset, this.typeSize, this.inout); }
protected AbstractMemory slice(Ruby runtime, long offset, long size) { return new Buffer(runtime, getMetaClass(), getMemoryIO().slice(offset, size), size, this.typeSize, this.inout); }
protected AbstractMemory slice(Ruby runtime, long offset, long size) { return new Buffer(runtime, getMetaClass(), getMemoryIO().slice(offset, size), size, this.typeSize, this.inout); }
protected AbstractMemory slice(Ruby runtime, long offset) { return new Buffer(runtime, getMetaClass(), getMemoryIO().slice(offset), this.size - offset, this.typeSize, this.inout); }
protected AbstractMemory slice(Ruby runtime, long offset, long size) { return new Buffer(runtime, getMetaClass(), getMemoryIO().slice(offset, size), size, this.typeSize, this.inout); }
public final AbstractMemory order(Ruby runtime, ByteOrder order) { return new Buffer(runtime, getMetaClass(), order.equals(getMemoryIO().order()) ? getMemoryIO() : new SwappedMemoryIO(runtime, getMemoryIO()), size, typeSize, inout); }
public final AbstractMemory order(Ruby runtime, ByteOrder order) { return new Buffer(runtime, getMetaClass(), order.equals(getMemoryIO().order()) ? getMemoryIO() : new SwappedMemoryIO(runtime, getMemoryIO()), size, typeSize, inout); }
public final AbstractMemory order(Ruby runtime, ByteOrder order) { return new Buffer(runtime, getMetaClass(), order.equals(getMemoryIO().order()) ? getMemoryIO() : new SwappedMemoryIO(runtime, getMemoryIO()), size, typeSize, inout); }
public final AbstractMemory order(Ruby runtime, ByteOrder order) { return new Buffer(runtime, getMetaClass(), order.equals(getMemoryIO().order()) ? getMemoryIO() : new SwappedMemoryIO(runtime, getMemoryIO()), size, typeSize, inout); }