Access these attributes through the nip2pGetAttribute function.
Attributes | Description |
---|---|
nip2p_kStreamAttributeReaderNumElementsForReading | Returns the current number of elements that the reader can read from the stream without creating an underflow condition in the stream. |
nip2p_kStreamAttributeReaderSizeInElements | Returns the current size of the reader in number of elements. |
nip2p_kStreamAttributeReaderUnderflow | Returns a nonzero value if an underflow condition previously occurred in the stream. After reading this attribute, the stream underflow status is reset to zero. |
nip2p_kStreamAttributeStreamState | Returns the current state of the stream. |
nip2p_kStreamAttributeWriterNumElementsForWriting | Returns the current number of elements that the writer can write to the stream without creating an overflow condition in the stream. |
nip2p_kStreamAttributeWriterSizeInElements | Returns the current size of the writer in number of elements. |
nip2p_kStreamAttributeWriterOverflow | Returns a nonzero value if an overflow condition previously occurred in the stream. After reading this attribute, the stream overflow status is reset to zero. |