public override long BytesToWrite() { return (long) interceptor.Invoke("bytesToWrite", "bytesToWrite() const", typeof(long)); }