resonance 1.0.1
Loading...
Searching...
No Matches
hxstream.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HxStream
 Seekable data source interface, unrelated to IBStream and OBStream. More...

Enumerations

enum  HxStreamSeekOrigin { kHxSeekSet = 0 , kHxSeekCur = 1 , kHxSeekEnd = 2 }
 Origin an HxStream::SetMarker() offset is measured from. More...

Enumeration Type Documentation

◆ HxStreamSeekOrigin

Origin an HxStream::SetMarker() offset is measured from.

HxMemStream::SetMarker() treats every origin other than 1 and 2 as the start rather than rejecting it. The three values below are the whole set. The titles are inferred, and the enumeration is separate from StreamSeekOrigin because the two class families are unrelated.

Enumerator
kHxSeekSet 

Measure from the start of the data.

kHxSeekCur 

Measure from the read position.

kHxSeekEnd 

Measure from the end of the data.