---
title: getBytesNoCopy
framework: kernel
role: symbol
role_heading: Instance Method
path: kernel/iobuffermemorydescriptor/3516445-getbytesnocopy
---

# getBytesNoCopy

Returns the virtual address of an offset into the memory buffer.

## Declaration

```occ
virtual void * getBytesNoCopy(vm_size_t start, vm_size_t withLength);
```

## Parameters

- `start`: The offset from the beginning of the memory buffer.
- `withLength`: The number of bytes you want.

## Return Value

Return Value The address at the specified offset into the bufer, or NULL if the offset and length yield an invalid address range.

## See Also

### Getting the Buffer Contents

- [getBytesNoCopy](kernel/iobuffermemorydescriptor/1574840-getbytesnocopy.md)
