Example usage for Java io.netty.channel FileRegion fields, constructors, methods, implement or subclass
The text is from its open source code.
long | count() Returns the number of bytes to transfer. |
long | position() Returns the offset in the file where the transfer began. |
int | refCnt() Returns the reference count of this object. |
boolean | release() Decreases the reference count by 1 and deallocates this object if the reference count reaches at 0 . |
long | transfered() Returns the bytes which was transferred already. |
long | transferTo(WritableByteChannel target, long position) Transfers the content of this file region to the specified channel. |