# `GSLayer postRead:format:`

*Instance Method*

Completes format-dependent decoding after the layer has been attached to its object hierarchy.

## Declaration

```swift
func postRead(_ error: NSErrorPointer, format formatVersion: GSFormatVersion) -> Bool
```

```objc
- (BOOL) postRead:(NSError **) error format:(GSFormatVersion) formatVersion;
```

```python
postRead_format_(formatVersion: GSFormatVersion) -> tuple[bool, NSError]
```

## Parameters

- `error` — On failure, information about the error.
- `formatVersion` — The Glyphs file format version from which the layer was decoded.

## Return Value

Whether decoding completed successfully.

## See Also

### Encoding

- [`GSLayer propertyListValueFormat:error:`](/Core/GlyphsCore/GSLayer/propertyListValueFormat:error:) — A property-list representation for the specified Glyphs file format version.
- [`GSLayer saveToFile:format:context:error:`](/Core/GlyphsCore/GSLayer/saveToFile:format:context:error:) — Writes the layer in the specified Glyphs file format.
- [`GSLayer attributesDict:`](/Core/GlyphsCore/GSLayer/attributesDict:) — An attribute representation for the specified Glyphs file format version.
- [`GSLayer.readBuffer`](/Core/GlyphsCore/GSLayer/readBuffer) — Values deferred until the layer can complete format-dependent decoding.
- [`GSLayer setReadBuffer:forKey:`](/Core/GlyphsCore/GSLayer/setReadBuffer:forKey:) — Stores a value for format-dependent decoding after the layer hierarchy is available.
- [`GSLayer layerDataFromDict:format:error:`](/Core/GlyphsCore/GSLayer/layerDataFromDict:format:error:) — Encodes layer elements as Glyphs property-list data.

