---
title: endLineWithCarriageReturn
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsdata/base64encodingoptions/endlinewithcarriagereturn
---

# endLineWithCarriageReturn

When a maximum line length is set, specify that the line ending to insert should include a carriage return.

## Declaration

```swift
static var endLineWithCarriageReturn: NSData.Base64EncodingOptions { get }
```

## See Also

### Constants

- [lineLength64Characters](foundation/nsdata/base64encodingoptions/linelength64characters.md)
- [lineLength76Characters](foundation/nsdata/base64encodingoptions/linelength76characters.md)
- [endLineWithLineFeed](foundation/nsdata/base64encodingoptions/endlinewithlinefeed.md)
