---
title: "AudioFileComponentReadBytes(_:_:_:_:_:)"
framework: audiotoolbox
role: symbol
role_heading: Function
path: "audiotoolbox/audiofilecomponentreadbytes(_:_:_:_:_:)"
---

# AudioFileComponentReadBytes(_:_:_:_:_:)

## Declaration

```swift
func AudioFileComponentReadBytes(_ inComponent: AudioFileComponent, _ inUseCache: Bool, _ inStartingByte: Int64, _ ioNumBytes: UnsafeMutablePointer<UInt32>, _ outBuffer: UnsafeMutableRawPointer) -> OSStatus
```

## See Also

### Reading and Writing Data

- [AudioFileComponentReadPacketData(_:_:_:_:_:_:_:)](audiotoolbox/audiofilecomponentreadpacketdata(_:_:_:_:_:_:_:).md)
- [AudioFileComponentReadPackets(_:_:_:_:_:_:_:)](audiotoolbox/audiofilecomponentreadpackets(_:_:_:_:_:_:_:).md)
- [AudioFileComponentWriteBytes(_:_:_:_:_:)](audiotoolbox/audiofilecomponentwritebytes(_:_:_:_:_:).md)
- [AudioFileComponentWritePackets(_:_:_:_:_:_:_:)](audiotoolbox/audiofilecomponentwritepackets(_:_:_:_:_:_:_:).md)
- [AudioFileComponentReadBytesProc](audiotoolbox/audiofilecomponentreadbytesproc.md)
- [AudioFileComponentReadPacketDataProc](audiotoolbox/audiofilecomponentreadpacketdataproc.md)
- [AudioFileComponentReadPacketsProc](audiotoolbox/audiofilecomponentreadpacketsproc.md)
- [AudioFileComponentWriteBytesProc](audiotoolbox/audiofilecomponentwritebytesproc.md)
- [AudioFileComponentWritePacketsProc](audiotoolbox/audiofilecomponentwritepacketsproc.md)
