protected override int RawLength() { try { return unchecked((int)stream.Length); } catch (System.Exception) { PhpException.Throw(PhpError.Warning, ErrResources.wrapper_op_unsupported, "Seek"); return -1; } }