public CFMutableData replace(CFRange range, byte[] bytes) { return replace(range, bytes, 0, bytes.length); }
public CFMutableData replace(CFRange range, ByteBuffer bytes) { long handle = getEffectiveAddress(bytes) + bytes.position(); replace(range, handle, bytes.remaining()); return this; }
public CFMutableData insert(long location, ByteBuffer bytes) { return replace(new CFRange(location, 0), bytes); }
public CFMutableData insert(long location, byte[] bytes) { return replace(new CFRange(location, 0), bytes, 0, bytes.length); }
public CFMutableData insert(long location, byte[] bytes, int offset, int length) { return replace(new CFRange(location, 0), bytes, offset, length); }
public CFMutableData replace(CFRange range, byte[] bytes, int offset, int length) { checkOffsetAndCount(bytes.length, offset, length); replace(range, VM.getArrayValuesAddress(bytes) + offset, length); return this; } public CFMutableData delete(CFRange range) {
public CFMutableData replace(CFRange range, byte[] bytes) { return replace(range, bytes, 0, bytes.length); }
public CFMutableData replace(CFRange range, byte[] bytes) { return replace(range, bytes, 0, bytes.length); }
public CFMutableData replace(CFRange range, ByteBuffer bytes) { long handle = getEffectiveAddress(bytes) + bytes.position(); replace(range, handle, bytes.remaining()); return this; }
public CFMutableData replace(CFRange range, ByteBuffer bytes) { long handle = getEffectiveAddress(bytes) + bytes.position(); replace(range, handle, bytes.remaining()); return this; }
public CFMutableData insert(long location, byte[] bytes) { return replace(new CFRange(location, 0), bytes, 0, bytes.length); }
public CFMutableData insert(long location, byte[] bytes, int offset, int length) { return replace(new CFRange(location, 0), bytes, offset, length); }
public CFMutableData insert(long location, ByteBuffer bytes) { return replace(new CFRange(location, 0), bytes); }
public CFMutableData insert(long location, byte[] bytes) { return replace(new CFRange(location, 0), bytes, 0, bytes.length); }
public CFMutableData insert(long location, byte[] bytes, int offset, int length) { return replace(new CFRange(location, 0), bytes, offset, length); }
public CFMutableData insert(long location, ByteBuffer bytes) { return replace(new CFRange(location, 0), bytes); }
public CFMutableData replace(CFRange range, byte[] bytes, int offset, int length) { checkOffsetAndCount(bytes.length, offset, length); replace(range, VM.getArrayValuesAddress(bytes) + offset, length); return this; } public CFMutableData delete(CFRange range) {
public CFMutableData replace(CFRange range, byte[] bytes, int offset, int length) { checkOffsetAndCount(bytes.length, offset, length); replace(range, VM.getArrayValuesAddress(bytes) + offset, length); return this; } public CFMutableData delete(CFRange range) {