---
title: withSize
framework: Kernel
role: symbol
role_heading: Type Method
platforms: [macOS 12.0+]
path: kernel/ioguardpagememorydescriptor/3753453-withsize
---

# withSize

## Declaration

```occ
static OSPtr<IOGuardPageMemoryDescriptor> withSize(vm_size_t size);
```
