다음을 통해 공유


streamoff

Supports internal operations.

#ifdef _WIN64
    typedef __int64 streamoff;
#else
    typedef long streamoff;
#endif

Remarks

The type is a signed integer that describes an object that can store a byte offset involved in various stream positioning operations. Its representation has at least 32 value bits. It is not necessarily large enough to represent an arbitrary byte position within a stream. The value streamoff(-1) generally indicates an erroneous offset.

Requirements

Header: <ios>

Namespace: std

See Also

Reference

iostream Programming

iostreams Conventions