# `GSOutlineImporter readData:toLayer:bounds:error:`

*Instance Method*

## Declaration

```swift
func read(_ data: Data, to layer: GSLayer, bounds outBounds: UnsafeMutablePointer<NSRect>?) throws
```

```objc
- (BOOL) readData:(NSData *) data toLayer:(GSLayer *) layer bounds:(NSRect *) outBounds error:(NSError **) error;
```

```python
readData_toLayer_bounds_error_(data: bytes, layer: GSLayer, outBounds: NSRect) -> tuple[bool, NSError]
```

